From: nobu.nokada@... Date: 2003-09-24T20:18:47+09:00 Subject: Re: Deadlock? Hi, At Sun, 21 Sep 2003 03:21:25 +0900, Philip Mak wrote: > Those should be executed fairly quickly, shouldn't they? Since I'm > just incrementing and decrementing a number. Hmmm, seem so. Do you use just one mutex in the application? > The only signal handling code in my program is this, which happens in > the main thread: > > ["SIGTERM", "SIGINT"].each do |sig| > trap(sig) { shutdown } > end What's `shutdown'? Doesn't anything deadlock in it? -- Nobu Nakada