About Social Code
summaryrefslogtreecommitdiff
path: root/thread/thread.rhm
diff options
context:
space:
mode:
Diffstat (limited to 'thread/thread.rhm')
-rw-r--r--thread/thread.rhm20
1 files changed, 20 insertions, 0 deletions
diff --git a/thread/thread.rhm b/thread/thread.rhm
new file mode 100644
index 0000000..a0c1b18
--- /dev/null
+++ b/thread/thread.rhm
@@ -0,0 +1,20 @@
+#lang rhombus/static
+
+import "thread.rkt" open
+
+export:
+ thread
+ thread_send
+ thread_receive
+ thread_receive_evt
+ thread_wait
+ sleep
+ sync_timeout
+ current_thread
+
+def thread_send: #{thread-send}
+def thread_receive: #{thread-receive}
+def thread_receive_evt: #{thread-receive-evt}
+def thread_wait: #{thread-wait}
+def sync_timeout: #{sync/timeout}
+def current_thread: #{current-thread}