Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Set the default priority to 0x1F for new threads
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Dec 11, 2017
1 parent 9328eeb commit df021c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pthread/sys/switch/phal.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ int phal_thread_create(phal_tid *tid, void (*start_routine)(void*), void *arg) {
if (stack == NULL)
return ENOMEM;
stack += 0x2000;
ret = svcCreateThread(tid, start_routine, (u64)arg, stack, 0, -2);
ret = svcCreateThread(tid, start_routine, (u64)arg, stack, 0x1F, -2);
if (ret)
return ret;
return svcStartThread(*tid);
Expand Down

0 comments on commit df021c1

Please sign in to comment.