set_priority
Description:
Sets this's priority.
If you do not call this, it will default to g_priority_default.
This will affect the priority of SocketSources created with attach_source and the scheduling of tasks run in threads, and can also be explicitly retrieved later via get_priority.
Parameters:
this |
the Task |
priority |
the [priority](iface.AsyncResult.html#io-priority) of the request |