The man page for zmq_ctx_destroy() says it replaces zmq_ctx_term(), and that the latter was deprecated. Should this VI be calling the former instead? The VI documentation implies it should.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Which itself replaces zmq_term(), the call from v2 and previously. Actually LabVIEW calls neither - it calls the wrapper function lvzmq_term() (zmq_labview.c) which calls zmq_ctx_destroy() and does reference counting. The VI filename is therefore purely historic to prevent pointless breaking of back-compatibility, though perhaps the link in documentation should be updated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The man page for zmq_ctx_destroy() says it replaces zmq_ctx_term(), and that the latter was deprecated. Should this VI be calling the former instead? The VI documentation implies it should.
Which itself replaces zmq_term(), the call from v2 and previously. Actually LabVIEW calls neither - it calls the wrapper function lvzmq_term() (zmq_labview.c) which calls zmq_ctx_destroy() and does reference counting. The VI filename is therefore purely historic to prevent pointless breaking of back-compatibility, though perhaps the link in documentation should be updated.
Got it. Yes, updating the documentation link would be helpful, but it's not worth generating a build just for that. Thanks for the clarification!