| 2819 | |
| 2820 | |
| 2821 | void SharedMemoryBase::mutexUnlock() |
| 2822 | { |
| 2823 | #if defined(WIN_NT) |
| 2824 | |
| 2825 | int state = ISC_mutex_unlock(sh_mem_mutex); |
| 2826 | |
| 2827 | #else // POSIX SHARED MUTEX |
| 2828 | |
| 2829 | int state = pthread_mutex_unlock(sh_mem_mutex->mtx_mutex); |
| 2830 | |
| 2831 | #endif // os-dependent choice |
| 2832 | |
| 2833 | if (state != 0) |
| 2834 | { |
| 2835 | sh_mem_callback->mutexBug(state, "mutexUnlock"); |
| 2836 | } |
| 2837 | } |
| 2838 | |
| 2839 | |
| 2840 | SharedMemoryBase::~SharedMemoryBase() |
no test coverage detected