Joins this.
After this call, it is safe to unref the task and clean up the lock set with set_lock .
The task will automatically be stopped with this call.
This function cannot be called from within a task function as this would cause a deadlock. The function will detect this and print a g_warning.
this |
The Task to join |