GThread: deprecate thread priorities
authorRyan Lortie <desrt@desrt.ca>
Mon, 19 Sep 2011 03:43:27 +0000 (23:43 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 21 Sep 2011 20:06:54 +0000 (16:06 -0400)
commit51d92adeee67d1df30d13fe41e97af9e563f62ec
tree5816351155ef10757854a24e4e2b1279d71ac5c5
parenta10306060c409c45b2ae7dc38813918ce5d611d4
GThread: deprecate thread priorities

Thread priorities were already documented as not working on Solaris, and
they are meaningless on Linux unless the process separately requests
realtime scheduling (and even then, it appears only to work as root).

We can safely put a NULL into the vtable for set_priority since nothing
outside of gthread.c ever calls this (and that call is gone).
glib/gthread-posix.c
glib/gthread-win32.c
glib/gthread.c
glib/gthread.h