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

Daniel-Constantin Mierla notifications at github.com
Wed Jun 22 19:00:48 CEST 2016


You need to synchronise when writing to same file from many processes. Among options:

  * 1) lock a mutex; open file; append message; close file; unlock mutex
  * 2) each process writes to pipe and a dedicated process reads from the pipe and writes to the file

---
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#issuecomment-227809239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160622/63dc0614/attachment.html>


More information about the sr-dev mailing list