Skip to content

Commit

Permalink
Fixed CORE-2896: Embedded connections done by root (like gbak, gsec, …
Browse files Browse the repository at this point in the history
…gfix) hang in linux
  • Loading branch information
AlexPeshkoff committed Apr 21, 2010
1 parent 653d768 commit cbfb637
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/jrd/isc.h
Expand Up @@ -37,6 +37,11 @@
#define USE_SYS5SEMAPHORE
#endif

#ifdef LINUX
// This hack fixes CORE-2896 - embedded connections fail on linux.
// Looks like a lot of linux kernels are buggy when working with PRIO_INHERIT mutexes.
#undef HAVE_PTHREAD_MUTEXATTR_SETPROTOCOL
#endif

#ifdef UNIX

Expand Down

0 comments on commit cbfb637

Please sign in to comment.