Mercurial Hosting > luan
diff src/luan/modules/ThreadLuan.java @ 788:c9409e28daa2
remove Thread.synchronized
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 04 Sep 2016 20:11:11 -0600 |
parents | d69d3c51c44e |
children | f16c77ef0f4f |
line wrap: on
line diff
--- 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);