The Glib 2.30 API allows you to set thread priority through the GThreadPriority enumeration. However, this API is deprecated from 2.32 , and I cannot find information on setting thread priorities using the new API. I Ctrl + F'd through all the thread-related sections in the API refrence and did not find anything priority. Google also seems to know nothing.
So, prioritizes the thread possible in API 2.32? If so, how to do it during creation and is it possible to change it after creating the stream? I know that pthread supports all of this, but I'd rather stick with the platform-independent Glib API.
source share