diff options
Diffstat (limited to 'sources/scala/concurrent/Lock.scala')
-rw-r--r-- | sources/scala/concurrent/Lock.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/concurrent/Lock.scala b/sources/scala/concurrent/Lock.scala index 9581151ea7..48431ff110 100644 --- a/sources/scala/concurrent/Lock.scala +++ b/sources/scala/concurrent/Lock.scala @@ -1,6 +1,6 @@ package scala.concurrent; -class Lock() extends Monitor() { +class Lock extends Monitor { var available = true; def acquire = { if (!available) wait(); |