~sharan-monikantan/drizzle/trunk-bug-952804

« back to all changes in this revision

Viewing changes to drizzled/main.cc

  • Committer: patrick crews
  • Date: 2012-06-04 18:05:47 UTC
  • mfrom: (2562.1.1 workspace)
  • Revision ID: gleebix@gmail.com-20120604180547-ngjd7bi12tfatnzg
Merge denis' main.cc changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
  }
213
213
  sigprocmask(SIG_SETMASK,&set,NULL);
214
214
  pthread_sigmask(SIG_SETMASK,&set,NULL);
 
215
 
 
216
  (void) sigemptyset(&set);
 
217
  sigaddset(&set,SIGTSTP);
 
218
  sigaddset(&set,SIGINT);
 
219
  sigprocmask(SIG_UNBLOCK,&set,NULL);
 
220
  pthread_sigmask(SIG_UNBLOCK,&set,NULL);
 
221
 
215
222
  return;
216
223
}
217
224