~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/drizzled.cc

  • Committer: Brian Aker
  • Date: 2008-07-14 23:48:30 UTC
  • Revision ID: brian@tangent.org-20080714234830-84ercqqitk2lwcga
I had removed most of the pthread_setschedparam() calls a bit ago. This
patch removes a couple I had left in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2630
2630
    unireg_abort(1);                            // Will do exit
2631
2631
 
2632
2632
  init_signals();
2633
 
  if (!(opt_specialflag & SPECIAL_NO_PRIOR))
2634
 
  {
2635
 
    struct sched_param tmp_sched_param;
2636
2633
 
2637
 
    memset(&tmp_sched_param, 0, sizeof(tmp_sched_param));
2638
 
    tmp_sched_param.sched_priority= my_thread_stack_size*2;
2639
 
    (void)pthread_setschedparam(pthread_self(), SCHED_OTHER, &tmp_sched_param);
2640
 
  }
2641
2634
  pthread_attr_setstacksize(&connection_attrib,my_thread_stack_size);
 
2635
 
2642
2636
#ifdef HAVE_PTHREAD_ATTR_GETSTACKSIZE
2643
2637
  {
2644
2638
    /* Retrieve used stack size;  Needed for checking stack overflows */