mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Add thread_join syscall
Thread joining is an important primitive that I seem to have totally forgotten to implement previously.
This commit is contained in:
@@ -3,6 +3,7 @@ object thread : object {
|
||||
|
||||
capabilities [
|
||||
kill
|
||||
join
|
||||
]
|
||||
|
||||
method create [constructor] {
|
||||
@@ -13,6 +14,8 @@ object thread : object {
|
||||
|
||||
method kill [destructor cap:kill]
|
||||
|
||||
method join [cap:join]
|
||||
|
||||
method exit [static]
|
||||
|
||||
method sleep [static] {
|
||||
|
||||
Reference in New Issue
Block a user