[zeromq-dev] Is the zmq_strerror method threadsafe?

Michael Devereaux Michael.Devereaux at quantum.com
Mon Sep 28 18:43:33 CEST 2015

Do you consider the method zmq_strerror to be threadsafe under ZMQ 3 and ZMQ 4?

Details for my question:
The zmq documentation does not state that zmq_strerror is threadsafe.
The Zmq codebase for both Zmq 3 and Zmq 4 calls strerror, not strerror_r.
The Linux man page for strerror indicates that it is not guaranteed to be threadsafe, whereas strerror_r is guaranteed threadsafe.  But often, the actual code implementation for strerror *is* threadsafe.

Note: Our current sw configuration requires one of RedHat Linux 5,6,7 and SuSe Linux 11, and ZeroMQ

Michael Devereaux

The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150928/ade4c099/attachment.htm>

More information about the zeromq-dev mailing list