Files
jsix/definitions/objects/thread.def
Justin C. Miller 194776d226 [kernel] Remove status code from thread exit
The status code from thread exit had too many issues, (eg, how does it
relate to process exit code? what happens when different threads exit
with different exit codes?) and not enough value, so I'm getting rid of
it.
2022-10-20 21:49:40 -07:00

22 lines
381 B
Modula-2

object thread : object {
uid 11f23e593d5761bd
capabilities [
kill
]
method create [constructor] {
param process ref process [cap:create_thread]
param stack_top address
param entrypoint address
}
method kill [destructor cap:kill]
method exit [static]
method sleep [static] {
param duration uint64
}
}