about summary refs log tree commit diff stats
path: root/src/libtools/static_threads.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-07-10 14:58:37 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-07-10 14:58:37 +0200
commitbd673dc791922ee92ac4ef512e3ede44edc518be (patch)
tree8d0e177a76bf1d7fa4b8d8b131b534eb326661b3 /src/libtools/static_threads.h
parent4fa00ba283b26149464de1e0628ee36bfb5de7b6 (diff)
downloadbox64-bd673dc791922ee92ac4ef512e3ede44edc518be.tar.gz
box64-bd673dc791922ee92ac4ef512e3ede44edc518be.zip
[STATICBUILD] Yet another attempt to fix CI build
Diffstat (limited to 'src/libtools/static_threads.h')
-rw-r--r--src/libtools/static_threads.h9
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