newCondition() is allowed to throw UnsupportedOperationException which  
is what RRWL read locks do...

which if ReadLock is just Lock means ReadWriteLock can go away as well.

Right?

Chris

On May 20, 2010, at 1:44 PM, Geert Bevin wrote:

> Only the WriteLock is the same and extends Lock as such. ReadLock  
> isn't able to create a condition ... and I explained about the others.
>
> On 20 May 2010, at 19:43, Chris Dennis wrote:
>
>> How different are our *Lock interfaces from their JDK equivalents?
>> Can we just use the JDK ones instead?
>
> --
> Geert Bevin
> Terracotta - http://www.terracotta.org
>
> _______________________________________________
> tc-dev mailing list
> tc-dev@lists.terracotta.org
> http://lists.terracotta.org/mailman/listinfo/tc-dev

_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to