mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-22 10:22:15 +02:00
Until newlib gets updated
This commit is contained in:
parent
69ce83479a
commit
c252b0a9d3
@ -27,9 +27,11 @@ void newlibSetup(Handle main_thread) {
|
|||||||
__syscalls.lock_init = mutexInit;
|
__syscalls.lock_init = mutexInit;
|
||||||
__syscalls.lock_acquire = mutexLock;
|
__syscalls.lock_acquire = mutexLock;
|
||||||
__syscalls.lock_release = mutexUnlock;
|
__syscalls.lock_release = mutexUnlock;
|
||||||
|
/*
|
||||||
__syscalls.lock_init_recursive = rmutexInit;
|
__syscalls.lock_init_recursive = rmutexInit;
|
||||||
__syscalls.lock_acquire_recursive = rmutexLock;
|
__syscalls.lock_acquire_recursive = rmutexLock;
|
||||||
__syscalls.lock_release_recursive = rmutexUnlock;
|
__syscalls.lock_release_recursive = rmutexUnlock;
|
||||||
|
*/
|
||||||
|
|
||||||
// Initialize thread vars for the main thread
|
// Initialize thread vars for the main thread
|
||||||
ThreadVars* tv = getThreadVars();
|
ThreadVars* tv = getThreadVars();
|
||||||
|
Loading…
Reference in New Issue
Block a user