aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/concurrency/process.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-05-05 19:50:11 -0400
committerEduardo Julian2019-05-05 19:50:11 -0400
commit4a81610a54b43b2084976ee4ebc86b3b94fb047c (patch)
tree194a961cda8991563cdc84c891073642e12b9cfa /stdlib/source/lux/control/concurrency/process.lux
parent1bce0132321794e421508ae687c9b1b68725a088 (diff)
Can now set the name of the "this" object, instead of being forced to use "_jvm_this".
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/control/concurrency/process.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/control/concurrency/process.lux b/stdlib/source/lux/control/concurrency/process.lux
index 400dcf2c8..6d432f48d 100644
--- a/stdlib/source/lux/control/concurrency/process.lux
+++ b/stdlib/source/lux/control/concurrency/process.lux
@@ -93,7 +93,7 @@
(`` (for {(~~ (static @.old))
(let [runnable (object [] [java/lang/Runnable]
[]
- (java/lang/Runnable [] (run) void
+ (java/lang/Runnable [] (run self) void
(io.run action)))]
(case milli-seconds
0 (java/util/concurrent/Executor::execute runnable runner)
@@ -103,7 +103,7 @@
(~~ (static @.jvm))
(let [runnable (object [] [java/lang/Runnable]
[]
- (java/lang/Runnable [] (run) void
+ (java/lang/Runnable [] (run self) void
(io.run action)))]
(case milli-seconds
0 (java/util/concurrent/Executor::execute runnable runner)