Menu

zmq_term.vi is labelled "Destroy" and references zmq_ctx_destroy(), but it calls zmq_ctx_term().

Stobber
2013-10-17
2013-10-18
  • Stobber

    Stobber - 2013-10-17

    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.

     
  • Martijn Jasperse

    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.

     
  • Stobber

    Stobber - 2013-10-18

    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!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.