repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
tools
/
build
/
feature
/
test-pthread-barrier.c
blob
0558d9334d971be555aab202df534ef5c5afdf15
1
// SPDX-License-Identifier: GPL-2.0
2
#include <stdint.h>
3
#include <pthread.h>
4
5
int
main
(
void
)
6
{
7
pthread_barrier_t barrier
;
8
9
pthread_barrier_init
(&
barrier
,
NULL
,
1
);
10
pthread_barrier_wait
(&
barrier
);
11
return
pthread_barrier_destroy
(&
barrier
);
12
}