mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 19:44:46 +00:00
added missing default rwlock attributes init
This commit is contained in:
parent
7407db9131
commit
d88c3c3d40
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ void init_pthreads() {
|
|||
ScePthreadAttr default_attr = nullptr;
|
||||
scePthreadAttrInit(&default_attr);
|
||||
g_pthread_cxt->SetDefaultAttr(default_attr);
|
||||
// default rw init
|
||||
OrbisPthreadRwlockattr default_rwattr = nullptr;
|
||||
scePthreadRwlockattrInit(&default_rwattr);
|
||||
g_pthread_cxt->setDefaultRwattr(default_rwattr);
|
||||
|
||||
g_pthread_cxt->SetPthreadPool(new PThreadPool);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue