diff options
| author | Yang Liu <numbksco@gmail.com> | 2024-05-24 15:40:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-24 09:40:31 +0200 |
| commit | 9c846a3e40ca96e580e4ab4b3db38f1ed7f791ea (patch) | |
| tree | 633f1fcc995fd9d966889f80f361b9cfed276c3b | |
| parent | 712e8315f8555f85f718e6d09e04d0bdab327659 (diff) | |
| download | box64-9c846a3e40ca96e580e4ab4b3db38f1ed7f791ea.tar.gz box64-9c846a3e40ca96e580e4ab4b3db38f1ed7f791ea.zip | |
Redirect pthread_yield to sched_yield (#1529)
| -rw-r--r-- | src/wrapped/wrappedlibpthread_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibpthread_private.h b/src/wrapped/wrappedlibpthread_private.h index 6cf74bcd..2ab265bb 100644 --- a/src/wrapped/wrappedlibpthread_private.h +++ b/src/wrapped/wrappedlibpthread_private.h @@ -254,7 +254,7 @@ GOM(__pthread_unregister_cancel, vFEp) //GO(__pthread_unregister_cancel_restore, //GO(__pthread_unwind, GOM(__pthread_unwind_next, vFEp) -GO(pthread_yield, iFv) +GO2(pthread_yield, iFv, sched_yield) //GO(raise, //GO(__res_state, GO(sem_close, iFp) |