mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Make fixes and improvements
- clock_nanosleep() is now much faster on OpenBSD and NetBSD - Thread joining is now much faster on NetBSD - FreeBSD timestamps are now more accurate - Thread spawning now goes faster on XNU - Clean up the clone() code
This commit is contained in:
parent
aee50b1327
commit
b407327972
47 changed files with 645 additions and 306 deletions
|
@ -8,8 +8,8 @@ COSMOPOLITAN_C_START_
|
|||
* See darwin-libpthread/kern/kern_support.c
|
||||
*/
|
||||
|
||||
int sys_bsdthread_create(void *func, void *func_arg, void *stack, void *pthread,
|
||||
uint32_t flags);
|
||||
errno_t sys_clone_xnu(void *func, void *func_arg, void *stack, void *pthread,
|
||||
uint32_t flags);
|
||||
int sys_bsdthread_register(
|
||||
void (*threadstart)(void *pthread, int machport, void *(*func)(void *),
|
||||
void *arg, intptr_t *, unsigned),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue