message queue VS real time signals

Carlo Zinato c.zinato at viscount.it
Thu Jun 21 07:39:29 PDT 2007


Hi list,

I'm using 0.9.28 uclibc's implementation of posix message queues, 
successfully sending messages (not more than 256 bytes long, but most of 
them 4 bytes long) from one process and catching them on another process 
via mq_notify and mq_receive (asynchronous mode). I know  there is 
sigqueue support in 0.9.29, to send real time signals with an embedded 
32 bit message (sigval_t), but at the time (june 2006) it was not 
implemented yet. Is it worthwhile to substitute 4-bytes (or less) mqueue 
messages with real time signals to improve efficiency and/or latency ? 
Maybe somebody has some experience or benchmarks, without deeply digging 
into uclibc source code...

Regards,
Carlo


More information about the uClibc mailing list