Version: 4.0.2
The mzlib/cml library defines a number of procedures that wrap PLT Scheme concurrency procedures. The wrapper procedures have names and interfaces that more closely match those of Concurrent ML [Reppy99].
thunk : (-> any) |
Equivalent to (thread/suspend-to-kill thunk).
Equivalent to (make-channel).
(channel-recv-evt ch) → evt? |
ch : channel? |
Equivalent to ch.
(channel-send-evt ch v) → evt? |
ch : channel? |
v : any/c |
Equivalent to (channel-put-evt ch v).
(thread-done-evt thd) → any |
thd : thread? |
Equivalent to (thread-dead-evt thread).
(current-time) → real? |
Equivalent to (current-inexact-milliseconds).
tm : real? |
Equivalent to (alarm-evt tm).