Author kristjan.jonsson
Recipients amaury.forgeotdarc, christian.heimes, kristjan.jonsson
Date 2008-11-14.16:59:44
SpamBayes Score 3.81585e-07
Marked as misclassified No
Message-id <>
Here is a revised version.
Since there is no portable way to block signals, and no way at all on 
windows (apparently) the simplest way is to simply use NOWAIT_LOCK when 
adding a new pending call.  While this does not guarantee that we are 
always able to append a call (we may be unlucky in all our N tries and 
there is also no portable way to yield the thread timeslice between 
tries) such are also the semantics of the method.  Sometimes the buffer 
may be full, or we fail to get the lock in time, and a -1 is returned.  
It is up to the caller to respond appropriately, perhaps by trying again 
Date User Action Args
2008-11-14 16:59:51kristjan.jonssonsetrecipients: + kristjan.jonsson, amaury.forgeotdarc, christian.heimes
2008-11-14 16:59:50kristjan.jonssonsetmessageid: <>
2008-11-14 16:59:49kristjan.jonssonlinkissue4293 messages
2008-11-14 16:59:49kristjan.jonssoncreate