aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/concurrency/thread.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/concurrency/thread.lux')
-rw-r--r--stdlib/source/library/lux/control/concurrency/thread.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/control/concurrency/thread.lux b/stdlib/source/library/lux/control/concurrency/thread.lux
index 0a2a2c547..8c3a273d4 100644
--- a/stdlib/source/library/lux/control/concurrency/thread.lux
+++ b/stdlib/source/library/lux/control/concurrency/thread.lux
@@ -64,7 +64,7 @@
#action (IO Any)})
))
-(def: #export parallelism
+(def: .public parallelism
{#.doc (doc "How many processes can run in parallel.")}
Nat
(with_expansions [<jvm> (|> (java/lang/Runtime::getRuntime)
@@ -101,7 +101,7 @@
(#try.Success _)
[]))
-(def: #export (schedule milli_seconds action)
+(def: .public (schedule milli_seconds action)
{#.doc (doc "Executes an I/O procedure after some milli-seconds.")}
(-> Nat (IO Any) (IO Any))
(with_expansions [<jvm> (as_is (let [runnable (ffi.object [] [java/lang/Runnable]
@@ -142,10 +142,10 @@
@.python (as_is)}
## Default
- (as_is (exception: #export cannot_continue_running_threads)
+ (as_is (exception: .public cannot_continue_running_threads)
## https://en.wikipedia.org/wiki/Event_loop
- (def: #export run!
+ (def: .public run!
{#.doc (doc "Starts the event-loop.")}
(IO Any)
(loop [_ []]