[concurrency-interest] thread queueing qn
dcholmes at optusnet.com.au
Mon Jan 21 21:11:13 EST 2008
No it doesn't mean that. There's no guarantee of FIFO access to a
From: concurrency-interest-bounces at cs.oswego.edu
[mailto:concurrency-interest-bounces at cs.oswego.edu]On Behalf Of Bob Lee
Sent: Tuesday, 22 January 2008 11:55 AM
To: Dhanji R. Prasanna
Subject: Re: [concurrency-interest] thread queueing qn
On Jan 21, 2008 5:38 PM, Dhanji R. Prasanna <dhanji at gmail.com> wrote:
Bob wont thread waiting give me FIFO semantics anyway?
Oops. I think you're right. I was thinking of wait()/notify(). Does this
statement from the JLS (
that threads enter the synchronized block in FIFO fashion?
"With respect to a lock, the lock and unlock actions performed by all the
threads are performed in some total sequential order. This total order must
be consistent with the total order on the actions of each thread."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest