Sets task’s name, used in debugging and profiling. The name defaults to
NULL.
The task name should describe in a human readable way what the task does.
For example, ‘Open file’ or ‘Connect to network host’. It is used to set the
name of the glib.Source used for idle completion of the task.
This function may only be called before the task is first used in a thread
other than the one it was constructed in.
Sets task’s name, used in debugging and profiling. The name defaults to NULL.
The task name should describe in a human readable way what the task does. For example, ‘Open file’ or ‘Connect to network host’. It is used to set the name of the glib.Source used for idle completion of the task.
This function may only be called before the task is first used in a thread other than the one it was constructed in.