1. 18 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Check whether assembler supports numerical local labels. · 79668cdf
      Matthias Clasen authored
      2007-11-18  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Check whether assembler supports numerical local
              labels.
      
              * glib/gatomic.c: Fix powerpc implementation of atomic ops for
              platforms where the assembler doesn't support numerical local
              labels.  (#445362)
      
      
      svn path=/trunk/; revision=5861
      79668cdf
  2. 11 Sep, 2007 1 commit
  3. 11 Dec, 2006 1 commit
  4. 10 May, 2006 1 commit
    • Sebastian Wilhelmi's avatar
      Renamed to glib/gthreadprivate.h and moved system thread identifier · e4f8f3b9
      Sebastian Wilhelmi authored
      
      2006-05-09  Sebastian Wilhelmi  <wilhelmi@google.com>
      
      	* glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved
      	system thread identifier comparision and assignment macros from
      	glib/gthread.c to glib/gthreadprivate.h.
      
      	* glib/Makefile.am, glib/gatomic.c, glib/gconvert.c, glib/gmain.c,
      	glib/gmem.c, glib/gmessages.c, glib/grand.c, glib/gslice.c,
      	glib/gthread.c, glib/gutils.c, gthread/gthread-impl.c: Use
      	glib/gthreadprivate.h instead of glib/gthreadinit.h.
      
      	* gthread/gthread-impl.c: Use GSystemThread instead of GThread for
      	owner determination. This fixes #311043 and is mostly modeled
      	after the patch from jylefort@FreeBSD.org.
      e4f8f3b9
  5. 19 Apr, 2006 1 commit
  6. 17 Dec, 2005 1 commit
    • Sebastian Wilhelmi's avatar
      Fix memory barrier position in g_atomic_int_get and g_atomic_pointer_get. · 78568970
      Sebastian Wilhelmi authored
      2005-12-17  Sebastian Wilhelmi  <seppi@seppi.de>
      
      	* glib/gatomic.c: Fix memory barrier position in g_atomic_int_get
      	and g_atomic_pointer_get. Add g_atomic_int_set and
      	g_atomic_pointer_set implementations for the !DEFINE_WITH_MUTEXES &&
      	G_ATOMIC_OP_MEMORY_BARRIER_NEEDED case, as well as defining them
      	as functions (additionally to the macros in the header) for the
      	!G_ATOMIC_OP_MEMORY_BARRIER_NEEDED case.
      78568970
  7. 13 Dec, 2005 1 commit
  8. 05 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Fix compiler warnings. · 5c32d523
      Matthias Clasen authored
      2005-12-05  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/libmoduletestplugin_a.c: Fix compiler warnings.
      
      	* glib/gatomic.c: In the ia64 implementation, use
      	__sync builtin without _si or _di suffix.  (#321229,
      	Stanislav Brabec, patch by Andreas Schwab)
      5c32d523
  9. 02 Dec, 2005 1 commit
  10. 22 Nov, 2005 1 commit
    • Tim Janik's avatar
      g_hash_table_new_full(): create hash tables with a ref count of 1. · 3e847a09
      Tim Janik authored
      Tue Nov 22 14:04:26 2005  Tim Janik  <timj@imendio.com>
      
              * glib/ghash.h:
              * glib/ghash.c:
              g_hash_table_new_full(): create hash tables with a ref count of 1.
              g_hash_table_ref(): atomically ref_count+=1
              g_hash_table_unref(): atomically ref_count-=1, destroys hash table
              when refcount reaches 0.
              g_hash_table_destroy(): just destroy keys and values, unref by 1.
              g_hash_table_insert():
              g_hash_table_replace(): assert ref_count>0.
      
              * glib/gatomic.h:
              * glib/gatomic.c: added 'volatile' qualifier to all atomic pointer and
              integer pointers.
      3e847a09
  11. 04 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Always export g_atomic_int_get and g_atomic_pointer_get as functions, even · 8e7a50ab
      Matthias Clasen authored
      2005-08-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/glib.symbols:
      	* glib/gatomic.[hc]: Always export g_atomic_int_get and
      	g_atomic_pointer_get as functions, even if we have macros,
      	to avoid changing the ABI depending on configuration.
      
      	* glib/gatomic.c: Fix the s390 implementations of
      	g_atomic_pointer_compare_and_exchange.
      8e7a50ab
  12. 03 Aug, 2005 1 commit
  13. 19 Jul, 2005 1 commit
  14. 14 Mar, 2005 2 commits
    • Matthias Clasen's avatar
      Some fixes · f1c70360
      Matthias Clasen authored
      f1c70360
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 608a31b9
      Matthias Clasen authored
      2005-03-13  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in galias.h:
      
      	* glib/glib.symbols: Group symbols by header and source file.
      	* glib/makegalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegalias.pl -def
      	* glib/Makefile.am (galiasdef.c): Add a rule to generate this
      	file.
      	* glib/*.c: Include galias.h after the other GLib headers,
      	include galiasdef.c at the bottom.
      608a31b9
  15. 06 Feb, 2005 1 commit
  16. 24 Oct, 2004 1 commit
  17. 16 Sep, 2004 1 commit
  18. 02 Aug, 2004 1 commit
  19. 02 Jul, 2004 1 commit
  20. 12 Mar, 2004 1 commit
    • Manish Singh's avatar
      Non-optimizing compile fails for two asm statements on PowerPC. Use · 89242d75
      Manish Singh authored
      Fri Mar 12 15:21:22 2004  Manish Singh  <yosh@gimp.org>
      
              * glib/gatomic.c: Non-optimizing compile fails for two asm
              statements on PowerPC. Use generic implementaton for those
              cases. Spotted by Christof Petig <christof@petig-baender.de>,
              fix by Sebastian Wilhelmi. Bug #137006 has a possible alternate
      	solution, but we'll be conservative for now.
      89242d75
  21. 05 Mar, 2004 1 commit
  22. 02 Mar, 2004 1 commit
  23. 01 Mar, 2004 1 commit
  24. 29 Feb, 2004 2 commits
  25. 26 Feb, 2004 1 commit
    • Sebastian Wilhelmi's avatar
      New files to implement atomic operations for different platforms. Fixes · dbbb29f6
      Sebastian Wilhelmi authored
      
      2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>
      
      	* glib/gatomic.c, glib/gatomic.h: New files to implement atomic
      	operations for different platforms. Fixes bug #63621.
      
      	* glib/glib.h: Include gatomic.h.
      
      	* configure.in: Add test for assembler routines for atomic operations.
      
      	* glib/Makefile.am: Add gatomic.c, gatomic.h.
      
      	* tests/Makefile.am, tests/atomic-test.c: Unit test for atomic
      	operations.
      
      	* glib/glib-overrides.txt, glib/glib-sections.txt,
      	glib/glib-docs.sgml, glib/tmpl/atomic_operations.sgml: Add docs
      	for atomic operations.
      dbbb29f6