[zeromq-dev] note on zlog.c & syslog_async
Michael Haberler
mail17 at mah.priv.at
Sat May 24 10:03:51 CEST 2014
Am 01.05.2014 um 16:21 schrieb Pieter Hintjens <ph at imatix.com>:
> Good point. The syslog protocol is simple enough that we can
> reimplement it using ZMQ_STREAM sockets IMO. I'll make an issue in
> zbroker, which is the current user for this class.
For reasons I hate to disclose but which cost me a day or so, I need to add the warning that http://thekelleys.org.uk/syslog-async/READ-ME clearly states that the syslog_async() code 'is not, currently, threadsafe.'.
- Michael
>
> On Thu, May 1, 2014 at 4:09 PM, Michael Haberler <mail17 at mah.priv.at> wrote:
>> I notice zlog.c was added to czmq recently
>>
>> in the machinekit project we used syslog from a cyclic process which at times generates log messages in short succession, but should not block on syslog()
>>
>> we had all sorts of problems with blocking, funny hangs in futex calls and whatnot with syslog
>>
>> we got rid of them for good by replacing syslog by syslog_async :
>>
>> http://thekelleys.org.uk/syslog-async/READ-ME
>> license is GPL2/GPL3 only
>> see also: http://lists.sip-router.org/pipermail/users/2008-October/020101.html
>>
>> - Michael
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list