diff options
-rw-r--r-- | sources/examples/pilib/rwlock.scala | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sources/examples/pilib/rwlock.scala b/sources/examples/pilib/rwlock.scala index 0090b6929c..3b6ba70460 100644 --- a/sources/examples/pilib/rwlock.scala +++ b/sources/examples/pilib/rwlock.scala @@ -44,10 +44,6 @@ object rwlock { private var waiting: List[Signal] = Nil; - def synchronized[a](def s: a): a = { - lock.get; val result = s; lock.release; result - } - def Wait = { val s = new Signal; waiting = s :: waiting; |