FACT++  1.0
int dim_get_scheduler_class ( int *  pclass)

Definition at line 296 of file dim_thr.c.

References MAIN_thread.

Referenced by dim_signal_cond().

297 {
298 #ifdef __linux__
299  int ret;
300  struct sched_param param;
301 
302  ret = pthread_getschedparam(MAIN_thread, pclass, &param);
303  if(!ret)
304  return 1;
305 #endif
306  return 0;
307 }
pthread_t MAIN_thread
Definition: dim_thr.c:21

+ Here is the caller graph for this function: