mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 12:18:31 +00:00
[WIP] Threading (#282)
* Thread creation * Proper thread creation and exit * Join/Detach protocol * Added semaphore with futex (hopefully fast)
This commit is contained in:
parent
d852640a1e
commit
a0b39f886c
30 changed files with 792 additions and 12 deletions
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,FUTEX_PRIVATE_FLAG,0,0,0,0x80,0x80,0
|
||||
.syscon misc,FUTEX_PRIVATE_FLAG,128,0,0,0x80,0x80,0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue