diff options
Diffstat (limited to 'src/libtools')
| -rw-r--r-- | src/libtools/static_threads.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libtools/static_threads.h b/src/libtools/static_threads.h index a20937f8..c0116d54 100644 --- a/src/libtools/static_threads.h +++ b/src/libtools/static_threads.h @@ -84,4 +84,11 @@ void my___pthread_unwind_next(x64emu_t* emu, x64_unwind_buff_t* buff); void my__pthread_cleanup_push_defer(x64emu_t* emu, void* buffer, void* routine, void* arg); void my__pthread_cleanup_push(x64emu_t* emu, void* buffer, void* routine, void* arg); void my__pthread_cleanup_pop_restore(x64emu_t* emu, void* buffer, int exec); -void my__pthread_cleanup_pop(x64emu_t* emu, void* buffer, int exec); \ No newline at end of file +void my__pthread_cleanup_pop(x64emu_t* emu, void* buffer, int exec); + +extern int __pthread_mutexattr_destroy(pthread_mutexattr_t *attr); +extern int __pthread_mutexattr_init(pthread_mutexattr_t *attr); +extern int __pthread_mutexattr_settype(pthread_mutexattr_t *attr, int t); +extern int __pthread_mutex_init(pthread_mutex_t *m, pthread_mutexattr_t *att); +extern int pthread_mutexattr_getkind_np(pthread_mutexattr_t *attr, void* p); +extern int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int k); \ No newline at end of file |