summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15c13bd)
raw | patch | inline | side by side (parent: 15c13bd)
author | Elliott Hughes <enh@google.com> | |
Wed, 14 May 2014 17:58:58 +0000 (10:58 -0700) | ||
committer | Elliott Hughes <enh@google.com> | |
Wed, 14 May 2014 17:58:58 +0000 (10:58 -0700) |
Change-Id: I79261de70d225236d0eadff288220258d697437f
libc/bionic/pthread_create.cpp | patch | blob | history |
index 2afb651fb639060c512ec23515c23aeb97e6f201..303af81939e8713e23a38f1042bf5afc7b518166 100644 (file)
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;
}
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;