summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-01-13 13:35:08 +0000
committerpaltherr <paltherr@epfl.ch>2004-01-13 13:35:08 +0000
commitc474f7cb36134455262e42963cab95f2caefff2e (patch)
treecccec019a80644426bba60d837a688f62e47f98d /sources
parent6024fffaf85a96d60b3588a13661b69578da8bb7 (diff)
downloadscala-c474f7cb36134455262e42963cab95f2caefff2e.tar.gz
scala-c474f7cb36134455262e42963cab95f2caefff2e.tar.bz2
scala-c474f7cb36134455262e42963cab95f2caefff2e.zip
- Removed scala/runtime/NativeMonitor.java
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/runtime/NativeMonitor.java34
1 files changed, 0 insertions, 34 deletions
diff --git a/sources/scala/runtime/NativeMonitor.java b/sources/scala/runtime/NativeMonitor.java
deleted file mode 100644
index 0afda00674..0000000000
--- a/sources/scala/runtime/NativeMonitor.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/* __ *\
-** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2003, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
-** /____/\___/_/ |_/____/_/ | | **
-** |/ **
-** $Id$
-\* */
-
-package scala.runtime;
-
-
-public class NativeMonitor {
-
- /** @meta method [?A] (def ?A) ?A;
- */
- public java.lang.Object synchronised(scala.Function0 p) {
- java.lang.Object result;
- synchronized(this) {
- result = p.apply();
- }
- return result;
- }
-
- /** @meta method [?A] (scala.AnyRef, def ?A) ?A;
- */
- public static java.lang.Object synchronised(java.lang.Object any, scala.Function0 p) {
- java.lang.Object result;
- synchronized(any) {
- result = p.apply();
- }
- return result;
- }
-}