mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 00:38:31 +00:00
Get threads working on all platforms
We now have a high-quality clone() implementation for creating lightweight threads on Linux/Windows/FreeBSD/NetBSD/OpenBSD.
This commit is contained in:
parent
4e62cefa6e
commit
fec396037a
43 changed files with 850 additions and 532 deletions
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall __tfork,0xfff008ffffffffff,globl
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall getcontext,0x133fff1a5fffffff,globl
|
2
libc/sysv/calls/sys_getcontext.s
Normal file
2
libc/sysv/calls/sys_getcontext.s
Normal file
|
@ -0,0 +1,2 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall sys_getcontext,0x133fff1a5fffffff,globl,hidden
|
2
libc/sysv/calls/sys_tgkill.s
Normal file
2
libc/sysv/calls/sys_tgkill.s
Normal file
|
@ -0,0 +1,2 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall sys_tgkill,0xfffffffffffff0ea,globl,hidden
|
2
libc/sysv/calls/sys_tkill.s
Normal file
2
libc/sysv/calls/sys_tkill.s
Normal file
|
@ -0,0 +1,2 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall sys_tkill,0x13e0771b121690c8,globl,hidden
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall tgkill,0xfffffffffffff0ea,globl
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall tkill,0xfffffffffffff0c8,globl
|
Loading…
Add table
Add a link
Reference in a new issue