* commit '7451897cd45c7dceb52803400c5f979692013c4f': Fix a typo in the big g_ search/replace.
This commit is contained in:
commit
b270fd3329
@ -52,7 +52,7 @@ extern "C" __attribute__((noinline)) void _thread_created_hook(pid_t) {}
|
||||
extern "C" __LIBC_HIDDEN__ void __init_user_desc(struct user_desc*, int, void*);
|
||||
#endif
|
||||
|
||||
static pthread_mutex_t g_pthread_stack_creation_ock = PTHREAD_MUTEX_INITIALIZER;
|
||||
static pthread_mutex_t g_pthread_stack_creation_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
static pthread_mutex_t g_debugger_notification_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
@ -111,7 +111,7 @@ int __init_thread(pthread_internal_t* thread, bool add_to_thread_list) {
|
||||
}
|
||||
|
||||
static void* __create_thread_stack(pthread_internal_t* thread) {
|
||||
ScopedPthreadMutexLocker lock(&g_pthread_stack_creation_ock);
|
||||
ScopedPthreadMutexLocker lock(&g_pthread_stack_creation_lock);
|
||||
|
||||
// Create a new private anonymous map.
|
||||
int prot = PROT_READ | PROT_WRITE;
|
||||
|
Loading…
Reference in New Issue
Block a user