mirror of
git://git.musl-libc.org/musl
synced 2025-01-11 00:59:46 +00:00
fix namespace violation in dependencies of mtx_lock
commit 2de29bc994
left behind one
reference to pthread_mutex_trylock. fixing this also improves code
generation due to the namespace-safe version being hidde.
This commit is contained in:
parent
2a03b0b518
commit
c62dfe6161
@ -9,7 +9,7 @@ int __pthread_mutex_timedlock(pthread_mutex_t *restrict m, const struct timespec
|
||||
int type = m->_m_type;
|
||||
int r, t, priv = (type & 128) ^ 128;
|
||||
|
||||
r = pthread_mutex_trylock(m);
|
||||
r = __pthread_mutex_trylock(m);
|
||||
if (r != EBUSY) return r;
|
||||
|
||||
int spins = 100;
|
||||
|
Loading…
Reference in New Issue
Block a user