changeset 788:c9409e28daa2

remove Thread.synchronized
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 04 Sep 2016 20:11:11 -0600
parents c49980cdece6
children e2eb55d86bb2
files src/luan/modules/Thread.luan src/luan/modules/ThreadLuan.java
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/Thread.luan	Sun Sep 04 00:18:00 2016 -0600
+++ b/src/luan/modules/Thread.luan	Sun Sep 04 20:11:11 2016 -0600
@@ -5,6 +5,5 @@
 
 M.fork = ThreadLuan.fork
 M.schedule = ThreadLuan.schedule
-M.synchronized = ThreadLuan.synchronized_
 
 return M
--- a/src/luan/modules/ThreadLuan.java	Sun Sep 04 00:18:00 2016 -0600
+++ b/src/luan/modules/ThreadLuan.java	Sun Sep 04 20:11:11 2016 -0600
@@ -31,7 +31,7 @@
 			}
 		}});
 	}
-
+/*
 	public static LuanFunction synchronized_(final LuanState luan,final LuanFunction fn) throws LuanException {
 		Utils.checkNotNull(fn);
 		return new LuanFunction() {
@@ -42,7 +42,7 @@
 			}
 		};
 	}
-
+*/
 	public static void schedule(LuanState luan,long delay,boolean repeat,LuanFunction fn,Object... args) {
 		LuanCloner cloner = new LuanCloner(LuanCloner.Type.COMPLETE);
 		final LuanState newLuan = (LuanState)cloner.clone(luan);