Commit 1d2eb37b authored by Alexandre Julliard's avatar Alexandre Julliard

Ignore __pthread_rwlock_unlock call if the pthread functions are not

initialized yet.
parent 90535ce9
...@@ -665,7 +665,7 @@ strong_alias(__pthread_rwlock_trywrlock, pthread_rwlock_trywrlock); ...@@ -665,7 +665,7 @@ strong_alias(__pthread_rwlock_trywrlock, pthread_rwlock_trywrlock);
int __pthread_rwlock_unlock(pthread_rwlock_t *rwlock) int __pthread_rwlock_unlock(pthread_rwlock_t *rwlock)
{ {
assert( funcs.ptr_pthread_rwlock_unlock ); if (!funcs.ptr_pthread_rwlock_unlock) return 0;
return funcs.ptr_pthread_rwlock_unlock( rwlock ); return funcs.ptr_pthread_rwlock_unlock( rwlock );
} }
strong_alias(__pthread_rwlock_unlock, pthread_rwlock_unlock); strong_alias(__pthread_rwlock_unlock, pthread_rwlock_unlock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment