1. 30 Jul, 2014 2 commits
    • Alexander Larsson's avatar
      Remove atomics from g_clear_object/g_clear_pointer · b1dd594a
      Alexander Larsson authored
      Practically no caller of these functions require atomic behaviour,
      but the atomics are much slower than normal operations, which makes
      it desirable to get rid of them. We have not done this before because
      that would be a break of the ABI.
      
      However, I recently looked into this and it seems that even if the
      atomics *are* used for g_clear_* it is not ever safe to use this.  The
      atomics protects two threads that are racing to free a global/shared
      object from freeing the object twice. However, any *user* of the global
      object have no protection from the object being freed while in use,
      because there is no paired operation the reads and refs the object
      as an atomic unit (nor can such an operation be implemented using
      purely atomic ops).
      
      So, since nothing could safely have used the atomic aspects of these
      functions I consider it acceptable to just remove it.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=733969
      b1dd594a
    • Alexander Larsson's avatar
  2. 28 Jul, 2014 1 commit
  3. 27 Jul, 2014 1 commit
  4. 26 Jul, 2014 2 commits
  5. 24 Jul, 2014 1 commit
  6. 23 Jul, 2014 16 commits
  7. 22 Jul, 2014 1 commit
  8. 21 Jul, 2014 3 commits
  9. 18 Jul, 2014 2 commits
  10. 17 Jul, 2014 1 commit
  11. 14 Jul, 2014 7 commits
  12. 10 Jul, 2014 1 commit
  13. 09 Jul, 2014 2 commits