mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-08 19:53:15 +00:00
thread: Configure stack and guard on POSIX hosts. (#1664)
This commit is contained in:
parent
920acb8d8b
commit
c019b54fec
3 changed files with 9 additions and 3 deletions
|
@ -281,7 +281,7 @@ int PS4_SYSV_ABI posix_pthread_create_name_np(PthreadT* thread, const PthreadAtt
|
|||
|
||||
/* Create thread */
|
||||
new_thread->native_thr = Core::Thread();
|
||||
int ret = new_thread->native_thr.Create(RunThread, new_thread);
|
||||
int ret = new_thread->native_thr.Create(RunThread, new_thread, &new_thread->attr);
|
||||
ASSERT_MSG(ret == 0, "Failed to create thread with error {}", ret);
|
||||
if (ret) {
|
||||
*thread = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue