On Tue, Feb 20, 2007 at 04:26:44PM -0500, Nick Mathewson wrote: > On Mon, Feb 19, 2007 at 11:01:54PM -0800, coderman wrote: [...] > > has this been discussed before in the context of the Tor event loop > > when using pthread? is anyone more familiar with libevent aware of > > the usual idioms for handling signals within worker pthreads? (it > > appears at first glance that most signal mgmt in libevent is at a > > process level) On the libevent list, there's a thread on this, with a proposed libevent patch from Scott Lamb. The thread is here: http://www.archivesat.com/libevent/thread2716014.htm The patch is here: http://archivesat.com/attachments/docs/30/3A.patch If you're running svn Tor (especially on BSD or OSX), and you've been seeing SIGPIPE errors or other weird signal messages, it would be cool to know whether this patch to libevent helps anything for you. Conversely, it would also be good to know whether this patch breaks stuff horribly for you no matter what you're running. peace, -- Nick Mathewson
Attachment:
pgpUtPe4FjEAD.pgp
Description: PGP signature