~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/os/os0thread.c

  • Committer: Brian Aker
  • Date: 2008-06-28 02:03:37 UTC
  • Revision ID: brian@tangent.org-20080628020337-6y2swv2izzde76vw
Removed my_pthread_setprio()

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
        pthread_attr_destroy(&attr);
182
182
#endif
183
183
        if (srv_set_thread_priorities) {
 
184
                  struct sched_param tmp_sched_param;
184
185
 
185
 
                my_pthread_setprio(pthread, srv_query_thread_priority);
 
186
                  memset(&tmp_sched_param, 0, sizeof(tmp_sched_param));
 
187
                  tmp_sched_param.sched_priority= srv_query_thread_priority;
 
188
                  (void)pthread_setschedparam(pthread, SCHED_OTHER, &tmp_sched_param);
186
189
        }
187
190
 
188
191
        if (thread_id) {