diff options
Diffstat (limited to 'thread/thread.rhm')
-rw-r--r-- | thread/thread.rhm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thread/thread.rhm b/thread/thread.rhm index a0c1b18..4bf911e 100644 --- a/thread/thread.rhm +++ b/thread/thread.rhm @@ -11,6 +11,7 @@ export: sleep sync_timeout current_thread + current_timestamp def thread_send: #{thread-send} def thread_receive: #{thread-receive} @@ -18,3 +19,4 @@ def thread_receive_evt: #{thread-receive-evt} def thread_wait: #{thread-wait} def sync_timeout: #{sync/timeout} def current_thread: #{current-thread} +def current_timestamp: #{current-inexact-monotonic-milliseconds} |