james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin" <robertburrelldon...@gmail.com>
Subject Re: [jira] Commented: (JAMES-802) [torque] Mailbox Currency
Date Fri, 10 Aug 2007 16:37:22 GMT
On 8/10/07, Stefano Bagnara <apache@bago.org> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message