mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 08:17:35 +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-vars`](api/scheme/cyclone/test#test-vars)
|
||||||
[`test`](api/scheme/cyclone/test#test)
|
[`test`](api/scheme/cyclone/test#test)
|
||||||
[`third`](api/srfi/1#third)
|
[`third`](api/srfi/1#third)
|
||||||
|
[`thread-join!`](api/srfi/18#thread-join)
|
||||||
[`thread-name`](api/srfi/18#thread-name)
|
[`thread-name`](api/srfi/18#thread-name)
|
||||||
[`thread-sleep!`](api/srfi/18#thread-sleep)
|
[`thread-sleep!`](api/srfi/18#thread-sleep)
|
||||||
[`thread-specific-set!`](api/srfi/18#thread-specific-set)
|
[`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-sleep!`](#thread-sleep)
|
||||||
- [`thread-yield!`](#thread-yield)
|
- [`thread-yield!`](#thread-yield)
|
||||||
- [`thread-terminate!`](#thread-terminate)
|
- [`thread-terminate!`](#thread-terminate)
|
||||||
|
- [`thread-join!`](#thread-join)
|
||||||
- [`mutex?`](#mutex)
|
- [`mutex?`](#mutex)
|
||||||
- [`make-mutex`](#make-mutex)
|
- [`make-mutex`](#make-mutex)
|
||||||
- [`mutex-lock!`](#mutex-lock)
|
- [`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.
|
Immediately abort the current thread.
|
||||||
|
|
||||||
|
# thread-join!
|
||||||
|
|
||||||
|
(thread-join! thread)
|
||||||
|
|
||||||
|
The current thread waits until `thread` terminates.
|
||||||
|
|
||||||
# mutex?
|
# mutex?
|
||||||
|
|
||||||
(mutex? obj)
|
(mutex? obj)
|
||||||
|
|
Loading…
Add table
Reference in a new issue