mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-28 13:30:29 +00:00
Add shared memory apis to redbean
You can now do things like implement mutexes using futexes in your redbean lua code. This provides the fastest possible inter-process communication for your production systems when SQLite alone as ipc or things like pipes aren't sufficient.
This commit is contained in:
parent
81ee11a16e
commit
7822917fc2
21 changed files with 988 additions and 23 deletions
|
@ -1,2 +1,2 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall sys_clock_nanosleep,0x1ddfff0f4ffff0e6,globl
|
||||
.scall sys_clock_nanosleep,0x1ddfff0f4ffff0e6,globl,hidden
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall sys_umtx_op,0xffffff1c6fffffff,globl
|
|
@ -642,7 +642,7 @@ scall sys_bsdthread_register 0xfffffffff216efff globl hidden
|
|||
#scall write_nocancel 0xfffffffff218dfff globl
|
||||
#scall writev_nocancel 0xfffffffff219cfff globl
|
||||
#──────────────────────────FREEBSD───────────────────────────
|
||||
scall sys_umtx_op 0xffffff1c6fffffff globl
|
||||
#scall sys_umtx_op 0xffffff1c6fffffff globl
|
||||
#scall abort2 0xffffff1cffffffff globl
|
||||
#scall afs3_syscall 0xffffff179fffffff globl
|
||||
#scall bindat 0xffffff21afffffff globl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue