Ignore __pthread_rwlock_unlock call if the pthread functions are not
initialized yet.
This commit is contained in:
parent
90535ce905
commit
1d2eb37bde
|
@ -665,7 +665,7 @@ strong_alias(__pthread_rwlock_trywrlock, pthread_rwlock_trywrlock);
|
|||
|
||||
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 );
|
||||
}
|
||||
strong_alias(__pthread_rwlock_unlock, pthread_rwlock_unlock);
|
||||
|
|
Loading…
Reference in New Issue