| 363 | } |
| 364 | |
| 365 | inline static void lock_set_destroy(gen_lock_set_t* s) |
| 366 | { |
| 367 | union semun su; |
| 368 | |
| 369 | su.val = 0; |
| 370 | semctl(s->semid, 0, IPC_RMID, su); |
| 371 | } |
| 372 | |
| 373 | inline static void lock_set_get(gen_lock_set_t* s, int n) |
| 374 | { |
no outgoing calls
no test coverage detected