NdbThread.c:
wrong order in c-file ndb/src/common/portlib/NdbThread.c: wrong order in c-file
This commit is contained in:
parent
418a06308b
commit
bd556f0d70
@ -39,14 +39,14 @@ struct NdbThread
|
|||||||
static
|
static
|
||||||
void*
|
void*
|
||||||
ndb_thread_wrapper(void* _ss){
|
ndb_thread_wrapper(void* _ss){
|
||||||
DBUG_ENTER("ndb_thread_wrapper");
|
|
||||||
void * ret;
|
void * ret;
|
||||||
struct NdbThread * ss = (struct NdbThread *)_ss;
|
struct NdbThread * ss = (struct NdbThread *)_ss;
|
||||||
|
DBUG_ENTER("ndb_thread_wrapper");
|
||||||
#ifdef NDB_SHM_TRANSPORTER
|
#ifdef NDB_SHM_TRANSPORTER
|
||||||
if (g_ndb_shm_signum)
|
if (g_ndb_shm_signum)
|
||||||
{
|
{
|
||||||
DBUG_PRINT("info",("Block signum %d",g_ndb_shm_signum));
|
|
||||||
sigset_t mask;
|
sigset_t mask;
|
||||||
|
DBUG_PRINT("info",("Block signum %d",g_ndb_shm_signum));
|
||||||
sigemptyset(&mask);
|
sigemptyset(&mask);
|
||||||
sigaddset(&mask, g_ndb_shm_signum);
|
sigaddset(&mask, g_ndb_shm_signum);
|
||||||
pthread_sigmask(SIG_BLOCK, &mask, 0);
|
pthread_sigmask(SIG_BLOCK, &mask, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user