20 #ifndef _PTHREAD_SYSCALLS_H 21 #define _PTHREAD_SYSCALLS_H 23 #include "pedigree/kernel/processor/Processor.h" 24 #include "pedigree/kernel/processor/VirtualAddressSpace.h" 25 #include "pedigree/kernel/processor/state.h" 27 #include "PosixSubsystem.h" 28 #include "pedigree/kernel/process/Semaphore.h" 29 #include "pedigree/kernel/process/Thread.h" 33 #include <sys/types.h> 35 void pedigree_init_pthreads();
36 void pedigree_copy_posix_thread(
40 void *posix_pedigree_create_waiter();
41 int posix_pedigree_thread_wait_for(
void *waiter);
42 int posix_pedigree_thread_trigger(
void *waiter);
43 void posix_pedigree_destroy_waiter(
void *waiter);
46 int *uaddr,
int futex_op,
int val,
const struct timespec *timeout);