Re: [jgroups-dev] Lock scope
Bela Ban <[email protected]> Thu, 20 Dec 2012 08:11:52 +0100
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/19/12 8:52 PM, Olexandr Markushyn wrote: > Greetings, > > Could you please clarify situation concerning the scope of JGroups Lock > provided with LockService? > > I see that there is only one scope and it’s thread wide. The scope of locks is per thread, so 2 threads in the same JVM compete for the same (named) lock, see [1] for details. > Am I correct? > > If I am then is there any plans to develop Lock with wider scope(s)? > > I mean a Lock that could be locked with one thread and unlocked with > another one. That is the case today [1] http://www.jgroups.org/manual-3.x/html/user-building-blocks.html#LockService -- Bela Ban, JGroups lead (http://www.jgroups.org) ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Javagroups-development mailing list