MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / mutexUnlock

Method mutexUnlock

src/common/isc_sync.cpp:2821–2837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2819
2820
2821void 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
2840SharedMemoryBase::~SharedMemoryBase()

Callers 15

unlockMethod · 0.80
acquire_shmemMethod · 0.80
release_shmemMethod · 0.80
CLIB_ROUTINE mainFunction · 0.80
~GuardMethod · 0.80
acquireMethod · 0.80
releaseMethod · 0.80
event.cppFile · 0.80
release_shmemMethod · 0.80
~GuardMethod · 0.80
lockStateMethod · 0.80
unlockStateMethod · 0.80

Calls 3

ISC_mutex_unlockFunction · 0.85
pthread_mutex_unlockFunction · 0.85
mutexBugMethod · 0.45

Tested by

no test coverage detected