On 8/10/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin (JIRA) ha scritto: > > [ > > https://issues.apache.org/jira/browse/JAMES-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518927 > > ] > > > > Robert Burrell Donkin commented on JAMES-802: > > --------------------------------------------- > > > > If we opt for read-write locking then the design of the locking needs to be > > considered. The illustrative patch does not time out threads. Is timing out > > a better idea? > > What is the current behavior of your patch when an operation find the > resource locked? (early fail or does it wait to acquire the lock?)
waits indefinitely to acquire. IMO waiting is definitely the right approach with IMAP. - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
