Creating thread, possibility of setting priority



Hello,

i have an problem with thread priority setting on Win32 :

Glib::Thread::create() allows setting priority -
  THREAD_PRIORITY_LOW,
  THREAD_PRIORITY_NORMAL,
  THREAD_PRIORITY_HIGH,
  THREAD_PRIORITY_URGENT

on Win32 are 31 priority-levels and THREAD_PRIORITY_URGENT corresponds
level 10!!!

I need to set level 15, is it possible and how can I do that?
Another question: is it possible to get the Thread-Id?

Thanks in advance!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]