Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement pthread_barrier calls in sthread, and test them in McMini
[simgrid.git] / teshsuite / mc / mcmini / simple_barrier_deadlock.c
1 #include <pthread.h>
2
3 pthread_barrier_t barrier;
4
5 int main(int argc, char* argv[]) {
6     pthread_barrier_init(&barrier, NULL, 2);
7     pthread_barrier_wait(&barrier);
8     return 0;
9 }
10