1 /* Copyright (c) 2010. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include <semaphore.h>
16 s = sem_open("/0", O_CREAT, 0644, 10);
18 // printf("sem_open failed\n");
21 // printf("sem_open succeeded\n");