[sr-dev] [kamailio/kamailio] Concurrency fprintf (#681)

logslie notifications at github.com
Wed Jun 22 11:58:29 CEST 2016


 Hi,

I'm developing a new module that writes logs in a log file using the function fprintf. 
My question is, do I have to implement any lock to write safely in the file? As far as I know fprintf is thread-safe, but even though it, I don't know if it is necessary or not.

Thanks,

Laura

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/681
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160622/72d4eb01/attachment.html>


More information about the sr-dev mailing list