8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 02:03:04 +01:00

Frontported fix for CORE-4919: Classic server (all processes) hangs after death of one process on AIX

This commit is contained in:
alexpeshkoff 2015-08-31 09:30:57 +00:00
parent 49abb07117
commit 74eeb4bbfa

View File

@ -1380,11 +1380,7 @@ int SharedMemoryBase::eventWait(event_t* event, const SLONG value, const SLONG m
{
ret = pthread_cond_timedwait(event->event_cond, event->event_mutex, &timer);
#if (defined LINUX || defined DARWIN || defined HP11 || defined FREEBSD)
if (ret == ETIMEDOUT)
#else
if (ret == ETIME)
#endif
{
// The timer expired - see if the event occurred and return