List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:November 6 2008 4:00pm
Subject:bzr commit into mysql-5.1 branch (jonas:3047)
View as plain text  
#At file:///home/jonas/src/telco-6.4/

 3047 Jonas Oreland	2008-11-06
      ndb - restore incorrectly remove #ifdef for windows
modified:
  storage/ndb/src/common/portlib/NdbThread.c

=== modified file 'storage/ndb/src/common/portlib/NdbThread.c'
--- a/storage/ndb/src/common/portlib/NdbThread.c	2008-11-06 10:17:49 +0000
+++ b/storage/ndb/src/common/portlib/NdbThread.c	2008-11-06 15:00:44 +0000
@@ -118,6 +118,8 @@ ndb_thread_wrapper(void* _ss){
 #ifdef NDB_SHM_TRANSPORTER
     NdbThread_set_shm_sigmask(TRUE);
 #endif
+
+#ifdef HAVE_PTHREAD_SIGMASK
     {
       /**
        * Block all signals to thread by default
@@ -127,6 +129,7 @@ ndb_thread_wrapper(void* _ss){
       sigfillset(&mask);
       pthread_sigmask(SIG_BLOCK, &mask, 0);
     }      
+#endif
 
     {
       void *ret;

Thread
bzr commit into mysql-5.1 branch (jonas:3047) Jonas Oreland6 Nov