Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix bug when trying to handle DW_OP_regN in MC_dwarf_resolve_location
[simgrid.git] / buildtools / Cmake / test_prog / prog_mutex_timedlock.c
1 /* Copyright (c) 2010-2011. 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 int main(void)
10 {
11   pthread_mutex_t s;
12   const struct timespec t;
13   sem_timedlock(&s, &t);
14   return 0;
15 }