| 1538 | } |
| 1539 | |
| 1540 | static pid_t *mutex_get_ptr(const mutex_t *m) |
| 1541 | { |
| 1542 | uintptr_t ptr = (uintptr_t)m->val + sizeof(int); |
| 1543 | return (pid_t *)(ptr & ~0x3ull); |
| 1544 | } |
| 1545 | |
| 1546 | /* |
| 1547 | * NOTE: mutex_lock() is marked with the __warn_unused_result__ attribute. |
no outgoing calls
no test coverage detected