This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
cosmopolitan
Watch
1
Star
0
Fork
You've already forked cosmopolitan
0
mirror of
https://github.com/jart/cosmopolitan.git
synced
2025-02-01 12:03:41 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
4f100d2aad
cosmopolitan
/
libc
/
isystem
/
cpio.h
5 lines
85 B
C
Raw
Normal View
History
Unescape
Escape
Clean up more code - Found some bugs in LLVM compiler-rt library - The useless LIBC_STUBS package is now deleted - Improve the overflow checking story even further - Get chibicc tests working in MODE=dbg mode again - The libc/isystem/ headers now have correctly named guards
2023-06-18 07:55:09 +00:00
#
ifndef _CPIO_H
#
define _CPIO_H
Implement pthread_atfork() If threads are being used, then fork() will now acquire and release and runtime locks so that fork() may be safely used from threads. This also makes vfork() thread safe, because pthread mutexes will do nothing when the process is a child of vfork(). More torture tests have been written to confirm this all works like a charm. Additionally: - Invent hexpcpy() api - Rename nsync_malloc_() to kmalloc() - Complete posix named semaphore implementation - Make pthread_create() asynchronous signal safe - Add rm, rmdir, and touch to command interpreter builtins - Invent sigisprecious() and modify sigset functions to use it - Add unit tests for posix_spawn() attributes and fix its bugs One unresolved problem is the reclaiming of *NSYNC waiter memory in the forked child processes, within apps which have threads waiting on locks
2022-10-16 19:05:08 +00:00
#
include
"libc/sysv/consts/c.h"
Clean up more code - Found some bugs in LLVM compiler-rt library - The useless LIBC_STUBS package is now deleted - Improve the overflow checking story even further - Get chibicc tests working in MODE=dbg mode again - The libc/isystem/ headers now have correctly named guards
2023-06-18 07:55:09 +00:00
#
endif
/* _CPIO_H */
Reference in a new issue
Copy permalink