Mercurial Hosting > luan
comparison src/luan/modules/ThreadLuan.java @ 1780:d3ea0380dfb6
rename Thread.fork to Thread.run
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 30 Aug 2023 14:40:45 -0600 |
parents | 8df0b80e715e |
children |
comparison
equal
deleted
inserted
replaced
1779:96dbbdf1e368 | 1780:d3ea0380dfb6 |
---|---|
46 } | 46 } |
47 } | 47 } |
48 }; | 48 }; |
49 } | 49 } |
50 | 50 |
51 public static void fork(Luan luan,LuanFunction fn) throws LuanException { | 51 public static void run(Luan luan,LuanFunction fn) throws LuanException { |
52 luan = new Luan(luan); | 52 luan = new Luan(luan); |
53 LuanMutable.makeImmutable(fn); | 53 LuanMutable.makeImmutable(fn); |
54 exec.execute(runnable(luan,fn)); | 54 exec.execute(runnable(luan,fn)); |
55 } | 55 } |
56 | 56 |