mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-13 15:57:36 +02:00
Added thread-join
This commit is contained in:
parent
9abbb0503c
commit
fe3552fa46
2 changed files with 8 additions and 0 deletions
|
@ -1122,6 +1122,7 @@ This section is an alphabetic listing of all the functions, objects, and macros
|
|||
[`test-vars`](api/scheme/cyclone/test#test-vars)
|
||||
[`test`](api/scheme/cyclone/test#test)
|
||||
[`third`](api/srfi/1#third)
|
||||
[`thread-join!`](api/srfi/18#thread-join)
|
||||
[`thread-name`](api/srfi/18#thread-name)
|
||||
[`thread-sleep!`](api/srfi/18#thread-sleep)
|
||||
[`thread-specific-set!`](api/srfi/18#thread-specific-set)
|
||||
|
|
|
@ -24,6 +24,7 @@ present in this implementation will fail to compile.
|
|||
- [`thread-sleep!`](#thread-sleep)
|
||||
- [`thread-yield!`](#thread-yield)
|
||||
- [`thread-terminate!`](#thread-terminate)
|
||||
- [`thread-join!`](#thread-join)
|
||||
- [`mutex?`](#mutex)
|
||||
- [`make-mutex`](#make-mutex)
|
||||
- [`mutex-lock!`](#mutex-lock)
|
||||
|
@ -92,6 +93,12 @@ The current thread exits the running state as if its quantum had expired.
|
|||
|
||||
Immediately abort the current thread.
|
||||
|
||||
# thread-join!
|
||||
|
||||
(thread-join! thread)
|
||||
|
||||
The current thread waits until `thread` terminates.
|
||||
|
||||
# mutex?
|
||||
|
||||
(mutex? obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue