| 486 | } |
| 487 | |
| 488 | void lock_wait(LOCK lock) |
| 489 | { |
| 490 | #if defined(CONF_FAMILY_UNIX) |
| 491 | pthread_mutex_lock((LOCKINTERNAL *)lock); |
| 492 | #elif defined(CONF_FAMILY_WINDOWS) |
| 493 | EnterCriticalSection((LPCRITICAL_SECTION)lock); |
| 494 | #else |
| 495 | #error not implemented on this platform |
| 496 | #endif |
| 497 | } |
| 498 | |
| 499 | void lock_release(LOCK lock) |
| 500 | { |
nothing calls this directly
no outgoing calls
no test coverage detected