List:Internals« Previous MessageNext Message »
From:jonas Date:September 7 2005 12:52pm
Subject:bk commit into 5.0 tree (jonas:1.1977)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jonas. When jonas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1977 05/09/07 14:51:57 jonas@eel.(none) +1 -0
  Merge eel.(none):/home/jonas/src/mysql-4.1
  into  eel.(none):/home/jonas/src/mysql-5.0

  ndb/src/common/portlib/NdbThread.c
    1.24 05/09/07 14:51:52 jonas@eel.(none) +0 -0
    Auto merged

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jonas
# Host:	eel.(none)
# Root:	/home/jonas/src/mysql-5.0/RESYNC

--- 1.23/ndb/src/common/portlib/NdbThread.c	2005-08-03 14:17:29 +02:00
+++ 1.24/ndb/src/common/portlib/NdbThread.c	2005-09-07 14:51:52 +02:00
@@ -53,6 +53,16 @@
     }
 #endif
     {
+      /**
+       * Block all signals to thread by default
+       *   let them go to main process instead
+       */
+      sigset_t mask;
+      sigfillset(&mask);
+      pthread_sigmask(SIG_BLOCK, &mask, 0);
+    }      
+    
+    {
       void *ret;
       struct NdbThread * ss = (struct NdbThread *)_ss;
       ret= (* ss->func)(ss->object);
Thread
bk commit into 5.0 tree (jonas:1.1977)jonas7 Sep