Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
1b0664a4a3dc537809e3a136c8f87a42de378c48
[simgrid.git] / buildtools / Cmake / test_prog / prog_mutex_timedlock.c
1 /* Copyright (c) 2010. The SimGrid Team.
2  * All rights reserved.                                                     */
3
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. */
6
7 #include <pthread.h>
8
9 void main(void)
10 {
11   pthread_mutex_t s;
12   const struct timespec t;
13   sem_timedlock(&s, &t);
14 }