diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-11 18:01:23 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-11 18:01:23 +0200 |
| commit | fc7f83c60b82e77712165dd600501af2c59b8d3b (patch) | |
| tree | 7fcb1621a399ca98bec55b6ec08158949ae4e494 /src/wrapped32 | |
| parent | af028c9bad11d4e8d6a4f4c01b4856a2c8f2d2ce (diff) | |
| download | box64-fc7f83c60b82e77712165dd600501af2c59b8d3b.tar.gz box64-fc7f83c60b82e77712165dd600501af2c59b8d3b.zip | |
[BOX32][WRAPPER] Added support for old pthread_kill (fixing hanging steamcmd)
Diffstat (limited to 'src/wrapped32')
| -rw-r--r-- | src/wrapped32/generated/functions_list.txt | 2 | ||||
| -rw-r--r-- | src/wrapped32/generated/wrappedlibpthreadtypes32.h | 2 | ||||
| -rwxr-xr-x | src/wrapped32/wrappedlibpthread_private.h | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/wrapped32/generated/functions_list.txt b/src/wrapped32/generated/functions_list.txt index 2cd368f9..fdb450c0 100644 --- a/src/wrapped32/generated/functions_list.txt +++ b/src/wrapped32/generated/functions_list.txt @@ -568,7 +568,7 @@ wrappedlibpthread: - pthread_once - pthread_rwlock_init - iFhi: - - pthread_kill + - pthread_kill@GLIBC_2.0 - vFppp: - _pthread_cleanup_push - _pthread_cleanup_push_defer diff --git a/src/wrapped32/generated/wrappedlibpthreadtypes32.h b/src/wrapped32/generated/wrappedlibpthreadtypes32.h index 16481475..200ad68a 100644 --- a/src/wrapped32/generated/wrappedlibpthreadtypes32.h +++ b/src/wrapped32/generated/wrappedlibpthreadtypes32.h @@ -87,7 +87,7 @@ typedef int32_t (*iFhppp_t)(uintptr_t, void*, void*, void*); GO(pthread_mutex_timedlock, iFpp_t) \ GO(pthread_once, iFpp_t) \ GO(pthread_rwlock_init, iFpp_t) \ - GO(pthread_kill, iFhi_t) \ + GO(pthread_kill@GLIBC_2.0, iFhi_t) \ GO(_pthread_cleanup_push, vFppp_t) \ GO(_pthread_cleanup_push_defer, vFppp_t) \ GO(pthread_attr_setaffinity_np, iFpup_t) \ diff --git a/src/wrapped32/wrappedlibpthread_private.h b/src/wrapped32/wrappedlibpthread_private.h index e5eb9fc7..fea570ab 100755 --- a/src/wrapped32/wrappedlibpthread_private.h +++ b/src/wrapped32/wrappedlibpthread_private.h @@ -88,7 +88,8 @@ GO(pthread_join, iFHBp_) GOM(__pthread_key_create, iFEpp) GOM(pthread_key_create, iFEpp) GO(pthread_key_delete, iFu) -GOM(pthread_kill, iFEhi) +GO(pthread_kill, iFhi) +GO2(pthread_kill@GLIBC_2.0, iFEhi, my32_pthread_kill_old) // pthread_kill_other_threads_np GO(__pthread_mutexattr_destroy, iFp) GO(pthread_mutexattr_destroy, iFp) |