1. 01 Oct, 2018 1 commit
  2. 08 Aug, 2018 1 commit
  3. 26 Jun, 2018 1 commit
    • Philip Withnall's avatar
      gmain: Add names to various GSources constructed in GLib · 208a6e81
      Philip Withnall authored
      For the purposes of debugging, it is quite useful for every GSource to
      have a name set. Ensure that any GSource we construct inside GLib has a
      name set. For GSources which are then returned to the caller, this name
      can then be overridden with something even more useful by the caller.
      
      Since this data is only used for debugging, avoid doing any allocations
      for it; just use static strings.
      
      #1175
      208a6e81
  4. 07 Nov, 2017 1 commit
  5. 26 Oct, 2017 1 commit
  6. 11 Oct, 2017 1 commit
  7. 29 May, 2017 1 commit
  8. 22 Nov, 2016 2 commits
  9. 15 Jun, 2016 1 commit
  10. 04 May, 2016 1 commit
  11. 30 Apr, 2016 1 commit
  12. 16 Nov, 2015 1 commit
  13. 02 Nov, 2015 1 commit
  14. 24 Oct, 2015 1 commit
  15. 29 Jun, 2015 2 commits
  16. 04 Apr, 2015 1 commit
    • Dan Winship's avatar
      gtask: remove hardcoded GTask thread-pool size · 86866a2a
      Dan Winship authored
      GTask used a 10-thread thread pool for g_task_run_in_thread() /
      g_task_run_in_thread_sync(), but this ran into problems when task
      threads blocked waiting for another g_task_run_in_thread_sync()
      operation to complete. Previously there was a workaround for this, by
      bumping up the thread limit when that case was detected, but deadlocks
      could still happen if there were non-GTask threads involved. (Eg, task
      A sends a message to thread X and waits for a response, but thread X
      needs to complete task B in a thread before returning the response to
      task A.)
      
      So, allow GTask's thread pool to be expanded dynamically, by watching
      it from the glib worker thread, and growing it (at an
      exponentially-decreasing rate) if too much time passes without any
      tasks completing. This should solve the deadlocking problems without
      causing sudden breakage in apps that assume they can queue huge
      numbers of tasks at once without consequences.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=687223
      86866a2a
  17. 10 Mar, 2015 1 commit
    • Philip Withnall's avatar
      gtask: Add a GTask:completed property · 4f1f68e6
      Philip Withnall authored
      This can be used to query whether the task has completed, in the sense
      that it has had a result set on it, and has already – or will soon –
      invoke its callback function.
      
      Notifications for this property are emitted immediately after the task’s
      main callback, in the same main context as that callback. This allows
      for multiple bits of code to listen for completion of the GTask, which
      opens the door for blocking on cancellation of the GTask and improved
      handling of ‘pending’ behaviour.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=743636
      4f1f68e6
  18. 23 Sep, 2014 3 commits
  19. 09 Jul, 2014 1 commit
  20. 27 Mar, 2014 1 commit
  21. 20 Feb, 2014 1 commit
  22. 15 Feb, 2014 1 commit
    • Matthias Clasen's avatar
      docs: let go of * · bc6ee788
      Matthias Clasen authored
      Since we are no longer using sgml mode, using /* */ to
      escape block comments inside examples does not work anymore.
      Switch to using line comments with //
      bc6ee788
  23. 13 Feb, 2014 1 commit
  24. 08 Feb, 2014 1 commit
  25. 06 Feb, 2014 1 commit
  26. 01 Feb, 2014 5 commits
  27. 31 Jan, 2014 1 commit
  28. 08 Jan, 2014 1 commit
  29. 05 Dec, 2013 1 commit
  30. 17 Oct, 2013 1 commit
  31. 30 Jun, 2013 1 commit
  32. 26 Mar, 2013 1 commit