mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 08:17:35 +02:00
Doc updates for thread-sleep!
This commit is contained in:
parent
f89f955367
commit
1f4a3b276b
1 changed files with 2 additions and 2 deletions
|
@ -79,11 +79,11 @@ Makes thread runnable. The thread must be a new thread. thread-start! returns th
|
||||||
|
|
||||||
(thread-sleep! timeout)
|
(thread-sleep! timeout)
|
||||||
|
|
||||||
Block the current thread for `timeout` milliseconds.
|
Block the current thread for `timeout` seconds. Specify fractional seconds for high-resolution timing.
|
||||||
|
|
||||||
# thread-yield!
|
# thread-yield!
|
||||||
|
|
||||||
(thread-yield!) (thread-sleep! 1))
|
(thread-yield!)
|
||||||
|
|
||||||
The current thread exits the running state as if its quantum had expired.
|
The current thread exits the running state as if its quantum had expired.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue