about summary refs log tree commit diff stats
path: root/src/libtools
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtools')
-rwxr-xr-xsrc/libtools/threads.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c
index c95fd598..684c5fdc 100755
--- a/src/libtools/threads.c
+++ b/src/libtools/threads.c
@@ -432,6 +432,16 @@ EXPORT int my_pthread_getattr_np(x64emu_t* emu, pthread_t thread_id, pthread_att
 	(void)emu;
 	return pthread_getattr_np(thread_id, getAlignedAttrWithInit(attr, 0));
 }
+EXPORT int my_pthread_getattr_default_np(x64emu_t* emu, pthread_attr_t* attr)
+{
+	(void)emu;
+	return pthread_getattr_default_np(getAlignedAttrWithInit(attr, 0));
+}
+EXPORT int my_pthread_setattr_default_np(x64emu_t* emu, pthread_attr_t* attr)
+{
+	(void)emu;
+	return pthread_setattr_default_np(getAlignedAttr(attr));
+}
 #endif
 
 EXPORT int my_pthread_create(x64emu_t *emu, void* t, void* attr, void* start_routine, void* arg)