projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix clobbering of errno in get(pw|gr)([ug]id|nam) by fclose
[musl]
/
src
/
thread
/
pthread_barrier_destroy.c
1
#include "pthread_impl.h"
2
3
void __vm_lock(int), __vm_unlock(void);
4
5
int pthread_barrier_destroy(pthread_barrier_t *b)
6
{
7
if (b->_b_limit < 0) {
8
__vm_lock(-1);
9
__vm_unlock();
10
}
11
return 0;
12
}