about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibpthread_private.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-12 10:32:11 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-12 10:32:11 +0200
commitd1d2de33e69449689c64b30ff486f48f2145d77c (patch)
treef65dc765d1cc2815e93f5d729af3c7b69a49cd40 /src/wrapped/wrappedlibpthread_private.h
parentab84faa3ca3718ef14e1291f357f7876636a1687 (diff)
downloadbox64-d1d2de33e69449689c64b30ff486f48f2145d77c.tar.gz
box64-d1d2de33e69449689c64b30ff486f48f2145d77c.zip
[WRAPPER] Added handling of old pthread cond functions
Diffstat (limited to 'src/wrapped/wrappedlibpthread_private.h')
-rw-r--r--src/wrapped/wrappedlibpthread_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibpthread_private.h b/src/wrapped/wrappedlibpthread_private.h
index 7e6a27f7..cdb241c6 100644
--- a/src/wrapped/wrappedlibpthread_private.h
+++ b/src/wrapped/wrappedlibpthread_private.h
@@ -60,6 +60,7 @@ GOM(pthread_attr_setschedpolicy, iFEpi)
 GOM(pthread_attr_setscope, iFEpi)
 GOM(pthread_attr_setstackaddr, iFEpp)
 #endif
+GO2(pthread_attr_setaffinity_np@GLIBC_2.3.3, iFEpp, my_pthread_attr_setaffinity_np_old)
 GOM(pthread_attr_setstack, iFEppL)
 GOM(pthread_attr_setstacksize, iFEpL)
 #ifdef NOALIGN
@@ -110,11 +111,18 @@ GOM(pthread_cond_init, iFEpp)
 GOM(pthread_cond_signal, iFEp)
 GOM(pthread_cond_timedwait, iFEppp)
 GOM(pthread_cond_wait, iFEpp)
+GO2(pthread_cond_broadcast@GLIBC_2.2.5, iFEp, my_pthread_cond_broadcast_old)
+GO2(pthread_cond_destroy@GLIBC_2.2.5, iFEp, my_pthread_cond_destroy_old)
+GO2(pthread_cond_init@GLIBC_2.2.5, iFEpp, my_pthread_cond_init_old)
+GO2(pthread_cond_signal@GLIBC_2.2.5, iFEp, my_pthread_cond_signal_old)
+GO2(pthread_cond_timedwait@GLIBC_2.2.5, iFEppp, my_pthread_cond_timedwait_old)
+GO2(pthread_cond_wait@GLIBC_2.2.5, iFEpp, my_pthread_cond_wait_old)
 GOM(pthread_create, iFEpppp)
 GOM(pthread_cond_clockwait, iFEppip)
 GO(pthread_detach, iFL)
 GO(pthread_equal, iFLL)
 GO(pthread_exit, vFp)
+GO2(pthread_getaffinity_np@GLIBC_2.3.3, iFEpp, my_pthread_getaffinity_np_old)
 GOM(pthread_getaffinity_np, iFEpLp)
 #ifdef NOALIGN
 GO(pthread_getattr_np, iFLp)
@@ -232,6 +240,7 @@ GO(pthread_rwlock_unlock, iFp)
 GO(__pthread_rwlock_wrlock, iFp)
 GO(pthread_rwlock_wrlock, iFp)
 GO(pthread_self, LFv)
+GO2(pthread_setaffinity_np@GLIBC_2.3.3, iFEpp, my_pthread_setaffinity_np_old)
 GOM(pthread_setaffinity_np, iFEpLp)
 GO(pthread_setcancelstate, iFip)
 GO(pthread_setcanceltype, iFip)