~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/signal_handler/signal_handler.cc

  • Committer: Brian Aker
  • Date: 2010-08-18 16:12:58 UTC
  • mto: This revision was merged to the branch mainline in revision 1720.
  • Revision ID: brian@tangent.org-20100818161258-1vm71da888dfvwsx
Remove the code surrounding stack trace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
  internal::my_thread_init();                           // Init new thread
118
118
  signal_thread_in_use= true;
119
119
 
120
 
  if (internal::thd_lib_detected != THD_LIB_LT && 
121
 
      (test_flags.test(TEST_SIGINT)))
 
120
  if ((test_flags.test(TEST_SIGINT)))
122
121
  {
123
122
    (void) sigemptyset(&set);                   // Setup up SIGINT for debug
124
123
    (void) sigaddset(&set,SIGINT);              // For debugging
228
227
 
229
228
    // @todo fix spurious wakeup issue
230
229
    (void) LOCK_thread_count.lock();
231
 
    if ((error=pthread_create(&signal_thread, &thr_attr, signal_hand, 0)))
 
230
    if ((error= pthread_create(&signal_thread, &thr_attr, signal_hand, 0)))
232
231
    {
233
232
      errmsg_printf(ERRMSG_LVL_ERROR,
234
233
                    _("Can't create interrupt-thread (error %d, errno: %d)"),