From: Wen Lan Date: 2009-01-05T11:26:44+09:00 Subject: Re: the thread problem in ruby imap Charles Oliver Nutter wrote: > Wen Lan wrote: >> hi, all >> >> my application is about ruby imap, it depends on daemons lib and runs >> as a background job. when it fetches the mails from gmail, it will throw >> the error below randomly: > > I've noticed some really odd threading behavior in net/imap too. I think > it needs a bit of a threading overhaul. We have at least one reported > bug in JRuby that seems to be related to bad use of mutexes: > > http://jira.codehaus.org/browse/JRUBY-2950 > > This could be the same thing, but perhaps we're not detecting that it's > the only thread stopping (since we don't have as rigid control over > threads). > > - Charlie Charlie, thank you for your reply! the error is about ruby monitor implementation or imap? what do you think? -- Posted via http://www.ruby-forum.com/.