mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
11 lines
197 B
C
Vendored
11 lines
197 B
C
Vendored
#include "pthread_impl.h"
|
|
|
|
int __pthread_mutex_unlock(pthread_mutex_t *m)
|
|
{
|
|
if (!m->_m_count) return EPERM;
|
|
m->_m_count--;
|
|
return 0;
|
|
}
|
|
|
|
weak_alias(__pthread_mutex_unlock, pthread_mutex_unlock);
|