gtask: Document that g_task_run_in_thread() uses a shared resource
It’s a bad idea to use it without some care for how much it’s being
called in parallel, or dependencies between tasks. If the thread pool
gets exhausted by too many inter-dependent calls to
g_task_run_in_thread()
then the process will livelock.
Signed-off-by: Philip Withnall pwithnall@endlessos.org