GTask BoF

See the main Hacking Days page for time and location information.


Several thread safety problems were discovered affecting g_task_run_in_thread(). Fixing them is not going to be easy. We will use this BoF to brainstorm a solution.


Also the complete-in-idle flag and warning if finalised before returning.


  • Review the problems
  • Explore possible solutions and implementation challenges
  • Find consensus for a better future


Anyone interested in fixing g_task_run_in_thread().



People who are planning on or are expected to attend:

Remote attendance

There may be a way for specific people to attend remotely. Contact PhilipWithnall if you’re interested.

Problem Statement

  • Task data can be improperly destroyed in worker thread
  • Source object can be improperly destroyed in worker thread
  • What about task result? Task error?
  • Blog post

  • GLib bug

GUADEC/2019/Hackingdays/GTaskRunInThreadBoF (last edited 2019-08-26 19:11:24 by PhilipWithnall)