From 9c846a3e40ca96e580e4ab4b3db38f1ed7f791ea Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Fri, 24 May 2024 15:40:31 +0800 Subject: Redirect pthread_yield to sched_yield (#1529) --- src/wrapped/wrappedlibpthread_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit 1.4.1