about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-12 22:30:13 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-12 22:30:13 +0100
commit4ac26b61b3116e7a026766673006124aef66fb0b (patch)
tree732a1c1bfca388a4443431ae58effe6932ceaa41 /src/wrapped
parentcd3a042776769e6080fc5cc3cf8e0184c58a3747 (diff)
downloadbox64-4ac26b61b3116e7a026766673006124aef66fb0b.tar.gz
box64-4ac26b61b3116e7a026766673006124aef66fb0b.zip
Fixed pthread_attr_setstacksize to avoid setting too small stack on some platforms. Also added pthread_setschedparam
Diffstat (limited to 'src/wrapped')
-rwxr-xr-xsrc/wrapped/wrappedlibpthread_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wrapped/wrappedlibpthread_private.h b/src/wrapped/wrappedlibpthread_private.h
index 23a2a6a5..33c2b5d5 100755
--- a/src/wrapped/wrappedlibpthread_private.h
+++ b/src/wrapped/wrappedlibpthread_private.h
@@ -38,7 +38,7 @@ GO(pthread_attr_setschedpolicy, iFpi)
 GO(pthread_attr_setscope, iFpi)
 GOM(pthread_attr_setstack, iFEppL)
 GO(pthread_attr_setstackaddr, iFpp)
-GO(pthread_attr_setstacksize, iFpL)
+GOM(pthread_attr_setstacksize, iFEpL)
 GO(pthread_barrierattr_destroy, iFp)
 GO(pthread_barrierattr_getpshared, iFpp)
 GO(pthread_barrierattr_init, iFp)
@@ -162,7 +162,7 @@ GO(pthread_self, LFv)
 //GO(pthread_setcanceltype, iFip)
 //GO(pthread_setconcurrency, iFi)
 //GOM(pthread_setname_np, iFEpp)   // not present on the Pandora
-//GO(pthread_setschedparam, iFuip)
+GO(pthread_setschedparam, iFLip)
 GO(pthread_setschedprio, iFpi)
 GO(__pthread_setspecific, iFLp)
 GO(pthread_setspecific, iFLp)