1. 21 Oct, 2007 1 commit
    • Behdad Esfahbod's avatar
      Fix warnings from sparse. (#487491, Kjartan Maraas) · 9df1f4fc
      Behdad Esfahbod authored
      2007-10-21  Behdad Esfahbod  <behdad@gnome.org>
      
              * glib/gdate.c (g_date_strftime):
              * glib/gmain.c (g_main_context_check):
              * glib/gregex.c (g_match_info_fetch_all), (g_regex_split_full):
              * glib/gthread.c (g_once_init_enter_impl), (g_once_init_leave):
              * glib/gthread.h:
              * glib/gutf8.c (g_utf16_to_utf8), (g_utf16_to_ucs4):
              * tests/errorcheck-mutex-test.c (lock_locked_mutex),
              (trylock_locked_mutex), (unlock_unlocked_mutex),
              (free_locked_mutex), (wait_on_unlocked_mutex),
              (wait_on_otherwise_locked_mutex), (timed_wait_on_unlocked_mutex),
              (timed_wait_on_otherwise_locked_mutex):
              Fix warnings from sparse. (#487491, Kjartan Maraas)
      
      
      svn path=/trunk/; revision=5792
      9df1f4fc
  2. 29 Aug, 2007 1 commit
  3. 14 Aug, 2007 1 commit
    • Tim Janik's avatar
      prevent race covered by g_once_init_enter(), by checking for previous · d5c43708
      Tim Janik authored
      Tue Aug 14 02:06:10 2007  Tim Janik  <timj@imendio.com>
      
              * glib/gthread.c (g_once_init_enter_impl): prevent race covered
              by g_once_init_enter(), by checking for previous initializations
              before entering initialisation branch.
      
              * tests/onceinit.c: added multi-thread/multi-initializer stress test
              using unoptimized g_once_init_enter_impl().
      
      
      
      svn path=/trunk/; revision=5701
      d5c43708
  4. 12 Jul, 2007 2 commits
  5. 10 Jul, 2007 1 commit
    • Tim Janik's avatar
      implemented g_once_init_enter(), g_once_init_enter_impl() and · c9ccc828
      Tim Janik authored
      Tue Jul 10 12:24:35 2007  Tim Janik  <timj@imendio.com>
      
              * glib/gthread.[hc]: implemented g_once_init_enter(),
              g_once_init_enter_impl() and g_once_init_leave(), based on a patch by
              Antoine Tremblay, fixes #65041.
              adapted exported inline function mechanism from gutils.[hc] for inlining
              g_once_init_enter_impl() in gthread.[hc].
      
      
      
      svn path=/trunk/; revision=5616
      c9ccc828
  6. 16 Jan, 2007 1 commit
    • Matthias Clasen's avatar
      Revert an accidental ABI break by moving gettime out of the · 4bbde507
      Matthias Clasen authored
      2007-01-16  Matthias Clasen  <mclasen@redhat.com>
      
              * glib/gthread.h:
              * glib/gthread.c:
              * glib/glib.symbols: Revert an accidental ABI break by
              moving gettime out of the GThreadFunctions struct and making
              it a separate variable.  (#397139, Joe Marcus Clarke)
      
              * gthread/*.c: Adapt.
      
      
      
      svn path=/trunk/; revision=5279
      4bbde507
  7. 08 Jan, 2007 1 commit
    • Matthias Clasen's avatar
      Don't link glib against libpthread. (#393812) · 541462ab
      Matthias Clasen authored
      2007-01-07  Matthias Clasen  <mclasen@redhat.com>
      
      	Don't link glib against libpthread.  (#393812)
      	
      	* configure.in: Link gthread against librt, not glib itself.
      
      	* glib/gthread.h:
      	* glib/gthread.c: Add a new thread function, gettime.
      
      	* glib/gtimer.c: Use gettime instead of directly working with
      	the various system interfaces.
      
      	* gthread/gthread-impl.c:
      	* gthread/gthread-posix.c:
      	* gthread/gthread-win32.c: Implement gettime.
      	
      
      svn path=/trunk/; revision=5227
      541462ab
  8. 11 May, 2006 1 commit
    • Sebastian Wilhelmi's avatar
      Make the magic and location arguments to the error-checking-mutex · 268084ca
      Sebastian Wilhelmi authored
      
      2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>
      
      	* glib/gthread.h, gthread/gthread-impl.c: Make the magic and
      	location arguments to the error-checking-mutex functions const and
      	do not write to them, as we might not own them. Clean up the
      	error-checking-mutex code quite a bit. (#335198, Chris Wilson)
      268084ca
  9. 16 Jan, 2006 1 commit
  10. 27 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Fix #316221, Michal Benes, Stanislav Brabec; · 1e4efb65
      Matthias Clasen authored
      2005-12-27  Matthias Clasen  <mclasen@redhat.com>
      
              Fix #316221, Michal Benes, Stanislav Brabec;
      
              * configure.in: Fix a strict aliasing problem in
              g_static_mutex_get_mutex().
              * glib/gthread.h: ...and in
              g_static_mutex_get_mutex_impl_shortcut().
      1e4efb65
  11. 01 Dec, 2005 1 commit
    • Tim Janik's avatar
      new slice allocator implementation. · 733b1789
      Tim Janik authored
      Thu Dec  1 17:32:46 2005  Tim Janik  <timj@imendio.com>
      
              * glib/gslice.[hc]: new slice allocator implementation.
      
              * tests/slice-test.c: added random slice allocation test.
      
              * glib/gthread.[hc]: removed newly added private thread mem API.
      
              * glib/gthreadinit.h:
              * glib/gmessages.c:
              * glib/gthread.c:
              * glib/gmem.c: divided glib threading initialisation into three phases,
              initialisation where private keys and messaging are not available (only
              needed by gmem.c), initialisation without messaging but private keys
              available (gslice.c, gmessage.c), and full fledged initialisers that
              server the rest of glib. initialisation functions got renamed to reflect
              the limitations of their corresponding phases.
      
              * glib/gmem.c: removed memchunk code, defer allocations to
              g_slice_* instead.
      
              * glib/gmem.[hc]: removed g_slice_* skeletons.
      
              * glib/glib.symbols: added g_slice_* symbols.
      
              * configure.in: check for availability of posix_memalign(3), memalign(3)
              and valloc(3).
      
              * glib/Makefile.am: added gslice.[hc].
      733b1789
  12. 01 Nov, 2005 1 commit
    • Tim Janik's avatar
      prepared deprecation of GMemChunk and GAllocator. added g_slice_*() API to · 0cba1b53
      Tim Janik authored
      Tue Nov  1 16:24:20 2005  Tim Janik  <timj@imendio.com>
      
              * glib/gmem.[hc]: prepared deprecation of GMemChunk and GAllocator.
              added g_slice_*() API to allocate and cache small bits of memory.
              an actuall allocator implementation for g_slice_*() is still pending.
      
              * glib/gthread.[hc]: changes from a patch by Matthias Clasen.
              changed GRealThread list to use in-structure *next; fields instead
              of GSList, in order for thread iteration to not depenend on g_slice_*()
              indirectly.
              _g_thread_mem_private_get():
              _g_thread_mem_private_set(): added accessors for private memory,
              needed because the ordinary GPrivate implementation relies on GArray
              and GSList and therefore indirectly on working g_slice_*() allocations.
      
              * glib/gthread.[hc]:
              g_thread_foreach(): new public API function to loop over all existing threads.
      
              * glib/gdataset.c:
              * glib/gstring.c:
              * glib/gcache.c:
              * glib/garray.c:
              * glib/gqueue.c:
              * glib/gslist.c:
              * glib/glist.c:
              * glib/ghash.c:
              * glib/gtree.c:
              * glib/ghook.c:
              * glib/gmain.c:
              * glib/gnode.c:
              removed GAllocator and free list usages and accompanying locks.
              use g_slice_*() API to allocate and cache small bits of memory.
      
              * glib/ghook.h: removed GMemChunk field from public API.
      
              * glib/gslist.h:
              * glib/glist.h: deprecate allocator API, provide _free1() for consistency.
      
              * glib/gnode.h: deprecate allocator API.
      
              * glib/gmain.c: reordered GPollRec fields so g_slice_free_chain() can
              be used for poll rec lists.
      
              * glib/grel.c: removed mem chunk usage, and allocated tuples via g_slice_*().
              g_relation_destroy(): free all tuples from the all_tuples hash table,
              this effectively maintains the life time track keeping of tuples.
              g_relation_delete_tuple(): free tuples which are removed from the
              all_tuples hash table. this fixes a temporary leak that was present
              in the memchunk code until the destruction of the relation.
      0cba1b53
  13. 29 Feb, 2004 1 commit
    • Sebastian Wilhelmi's avatar
      Moved the assembler functions from gatomic.h to gatomic.c, which makes for · 769f36db
      Sebastian Wilhelmi authored
      
      2004-02-29  Sebastian Wilhelmi  <seppi@seppi.de>
      
      	* configure.in, glib/gatomic.c, glib/gatomic.h: Moved the
      	assembler functions from gatomic.h to gatomic.c, which makes for
      	better maintainability. Also use gint instead of gint32 to be able
      	to use reference counting for ABI-fixed structures with
      	gint/guint.
      
      	* glib/gthread.h: Adapted accordingly.
      
      	* tests/atomic-test.c: Updated to test for G_MAXINT and G_MININT.
      769f36db
  14. 26 Feb, 2004 1 commit
    • Sebastian Wilhelmi's avatar
      empty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED · ea9d1389
      Sebastian Wilhelmi authored
      
      2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>
      
      	* glib/gatomic.h: empty G_ATOMIC_MEMORY_BARRIER() definition for
      	!G_THREADS_ENABLED
      
      	* glib/gthread.h: Define g_once and
      	g_static_mutex_get_mutex_impl_shortcut in terms of
      	G_MEMORY_BARRIER, if defined and if we can inline.
      
      	* configure.in: Remove double checked locking feature check.
      ea9d1389
  15. 08 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      Support for one-time initialization functions. (#69668, Sebastian · 876f9078
      Matthias Clasen authored
      2003-07-09  Matthias Clasen  <maclas@gmx.de>
      
      	Support for one-time initialization functions.  (#69668, Sebastian Wilhelmi)
      
      	* configure.in: Check whether double checked locking is safe, define g_once() in
      	glibconfig.h accordingly.
      	* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
      	* glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
      	locking is unsafe.
      	* tests/thread-test.c: Add tests for g_once().
      876f9078
  16. 15 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Mark the contents of the strucures in this file /*< private >*/ · 424b7e92
      Owen Taylor authored
      Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gthread.h: Mark the contents of the strucures
              in this file /*< private >*/
      
              * glib/gthread.[ch]: Rename the 'write' field of the
              structure to 'have_writer' to avoid any possible
              conflict with system headers. (#90549, Morten Welinder)
      424b7e92
  17. 04 Feb, 2002 1 commit
    • Sebastian Wilhelmi's avatar
      Delay allocation until after all g_return_val_if_fail (). · cb17f230
      Sebastian Wilhelmi authored
      
      2002-02-04  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib/gthread.c (g_thread_create_full): Delay allocation until
      	after all g_return_val_if_fail ().
      
      	* glib/gthread.h: Make depth member guint for cosmetic reasons.
      
      	* glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
      	be unsigned. All that spotted by Jrgen Viksell
      	<jorgen.viksell@telia.com>
      cb17f230
  18. 19 Sep, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Add thread_equal function to allow for platform defined function to · f8f4c377
      Sebastian Wilhelmi authored
      2001-09-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib/gthread.h (GThreadFunctions): Add thread_equal function to
      	allow for platform defined function to compare two threads.
      
      	* glib/gthread.c: Use g_thread_functions_for_glib_use.thread_equal
      	when non-NULL instead of ==.
      
      	* gthread/gthread-posix.c: Add g_thread_equal_posix_impl and
      	add to the function vector g_thread_functions_for_glib_use_default.
      
      	* gthread/gthread-solaris.c, gthread/gthread-win32.c: Add NULL
      	as equal function, as on those two platforms you don't need an
      	equal function.
      f8f4c377
  19. 30 Aug, 2001 1 commit
  20. 26 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Move glib library into a subdirectory, make all GLib include files include · 2fd6b001
      Owen Taylor authored
      Tue Jun 26 11:43:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am:
      	Move glib library into a subdirectory, make all GLib include
      	files include as <glib/glist.h>
      
      	* tests/testglib.c tests/testgdate.c tests/testgdateparser.c
      	  tests/timeloop.c tests/timeloop-basic.c: Move all tests into
      	the tests/ subdirectory.
      2fd6b001
  21. 18 May, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Renamed g_thread_create to g_thread_create_full and added macro · 227d18bc
      Sebastian Wilhelmi authored
      
      2001-05-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.c, gthread.h: Renamed g_thread_create to
      	g_thread_create_full and added macro g_thread_create, which omits
      	'stack_size', 'bound' and 'priority' parameters. Also removed
      	'bound' from GThread struct.
      
      	* gthreadpool.h, gthreadpool.c: Adapted GThreadPool to the above
      	changes. GThreadPool lost the 'priority' and 'bound'
      	members. g_thread_pool_new the 'stack_size', 'bound' and
      	'priority' parameters.
      
      	* tests/mainloop-test.c, tests/thread-test.c,
      	tests/threadpool-test.c: Adapted to the above changes.
      227d18bc
  22. 09 May, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Renamed 'value' and 'arg' to 'data' and 'thread_func' to 'func' to make it · a8c9dadd
      Sebastian Wilhelmi authored
      
      2001-05-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.c, gthread.h: Renamed 'value' and 'arg' to 'data' and
      	'thread_func' to 'func' to make it more consistent with the rest
      	of GLib.
      
      	* gthreadpool.c, gthreadpool.h: Moved 'stack_size' from the public
      	members of GThreadPool to the private ones. Renamed 'thread_func'
      	to 'func' as above. Moved up 'user_data' in g_thead_pool_new
      	argument list and in GThreadPool struct.
      a8c9dadd
  23. 08 May, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Moved func and arg members from GRealThread to GThread, such that they can · cd00d6e2
      Sebastian Wilhelmi authored
      
      2001-05-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gmain.c, gthread.c, gthread.h: Moved func and arg members from
      	GRealThread to GThread, such that they can be accessed by the
      	user.
      
      	* gthread.c, gthread.h: Due to popular demand (Tim being the
      	populus here ;-) threads now have a 'return value', which is
      	returned by g_thread_join and is either the return of the topmost
      	thread function or the value given to g_thread_exit.
      
      	* gthreadpool.c, tests/mainloop-test.c, tests/thread-test.c:
      	Adapted to the above change.
      cd00d6e2
  24. 02 Apr, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Use the new GRealThread member "context" instead of a GStaticPrivate to · 7b06f826
      Sebastian Wilhelmi authored
      
      2001-04-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gmain.c: Use the new GRealThread member "context" instead of a
      	GStaticPrivate to store the thread specific main loop context.
      
      	* gthread.c: Added "context" member to GRealThread and updated
      	g_thread_create, g_thread_self and g_thread_cleanup accordingly.
      
      	* gthread.c, gthread.h: Removed the functions
      	g_static_private_(get|set)_for_thread and adapted
      	g_static_private_(get|set) and g_static_private_free accordingly.
      7b06f826
  25. 23 Feb, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Change the order to match the order in g_thread_create(). · 2395a333
      Sebastian Wilhelmi authored
      
      2001-02-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.h (struct _GThread): Change the order to match the order
      	in g_thread_create().
      
      	* gthread.c (g_static_rec_mutex_lock_full): Also do the right
      	thing (behave like 'depth' calls to g_static_rec_mutex_lock) for a
      	mutex, that is already locked.
      
      	* glib/tmpl/threads.sgml: Big update. Almost ready.
      
      	* glib/tmpl/async_queues.sgml: Typo.
      
      	* glib/glib-sections.txt: Added g_static_rec_mutex_init,
      	g_static_rec_mutex_free, g_static_rw_lock_init,
      	g_static_private_init and g_static_private_free.
      
      	* glib/glib-overrides.txt: Added g_thread_yield and g_thread_exit.
      2395a333
  26. 21 Feb, 2001 1 commit
    • Tor Lillqvist's avatar
      Match also UNC paths on Win32. · cd89e4cc
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gutils.c (g_path_is_absolute): Match also UNC paths on Win32.
      
      	* gthread.h: Include gtypes.h to be sure to get GLIB_VAR
      	definition, remove definition from here.
      
      	* gunicode.h: Remove duplicate GLIB_VAR definition from here, too.
      
      	* gutils.c: (Win32) Use USERPROFILE as home dir if present. On
      	Win2k, HOMEDRIVE and HOMEPATH aren't reliable.
      
      	* Makefile.am (INCLUDES): Add -DGLIB_COMPILATION.
      
      	* makefile.mingw.in: Remove install target, Windows isn't Unix.
      
      	* testgdate.c
      	* testgdateparser.c
      	* testglib.c: Undefine GLIB_COMPILATION.
      
      	* glib.def: Updates.
      
      	* .cvsignore
      	* */.cvsignore: Ignore also .obj, .dll, .lib and .exe files.
      cd89e4cc
  27. 13 Feb, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Added functions g_static_rec_mutex_init, g_static_rec_mutex_free, · 41e2001d
      Sebastian Wilhelmi authored
      
      2001-02-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.c, gthread.h: Added functions g_static_rec_mutex_init,
      	g_static_rec_mutex_free, g_static_private_init,
      	g_static_private_free, g_static_rw_lock_init to allow the usage of
      	all those types dynamically. (g_static_rw_lock_free already
      	existed). Aditionally freed static_private indeces are reused
      	now. Untill now the array would just grow if you would use more
      	and more static_private. That required adding a slist of all
      	running threads, which could potentially be of good use later. It
      	is not exported however. Renamed a LOCK and small indentation
      	fixes.
      
      	* tests/thread-test.c: Test the new static_private index freing
      	and reusing feature.
      41e2001d
  28. 01 Feb, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Added g_static_mutex_init to allow initialization of a GStaticMutex, that · 5434105f
      Sebastian Wilhelmi authored
      
      2001-02-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.c, gthread.h: Added g_static_mutex_init to allow
      	initialization of a GStaticMutex, that can not be initialized with
      	G_STATIC_MUTEX_INIT, for example in allocated structures.
      
      	* glib/tmpl/threads.sgml, glib/glib-sections.txt: Added
      	documentation for g_static_mutex_init().
      
      WCVS: ----------------------------------------------------------------------
      5434105f
  29. 30 Jan, 2001 2 commits
    • Sebastian Wilhelmi's avatar
      Call g_thread_impl_init(), as g_thread_init won't call it. · f9dfcb27
      Sebastian Wilhelmi authored
      
      2001-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread/gthread-impl.c (g_thread_init_with_errorcheck_mutexes): Call
      	g_thread_impl_init(), as g_thread_init won't call it.
      
      
      	* glib/glib-sections.txt, glib/tmpl/threads.sgml: Added
      	g_static_mutex_free
      
      	* gthread.c, gthread.h: Added g_static_mutex_free to allow using
      	GStaticMutexes with limited lifetime without leaking.
      
      	* configure.in: GStaticMutex doesn't have to provide extra space
      	for debugging information for G_ERRORCHECK_MUTEXES, as then the
      	non-default implementation (runtime_mutex) is used anyway.
      f9dfcb27
    • Sebastian Wilhelmi's avatar
      Added debug information for g_mutex_free calls, if G_ERRORCHECK_MUTEXES is · 1f46d9f6
      Sebastian Wilhelmi authored
      
      2001-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.h (g_cond_wait): Added debug information for
      	g_mutex_free calls, if G_ERRORCHECK_MUTEXES is defined.
      
      	* gthread/gthread-impl.c (g_mutex_free_errorcheck_impl): Fixed it for
      	real. Sorry for this mess. It looked like a real obvious fix, so I
      	didn't check. Bad boy. Added some casts to quiet the compiler.
      1f46d9f6
  30. 05 Dec, 2000 1 commit
    • Owen Taylor's avatar
      Major change in API for creating sources to handle multiple main loops · e2fd4e2b
      Owen Taylor authored
      Tue Dec  5 12:23:04 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gmain.[hc]: Major change in API for creating sources
      	to handle multiple main loops (GMainContext *).
      
      	GSources are now exposed as GSource * and implemented
      	with structure derivation.
      
      	* giochannel.[ch]: Changed vtable for GIOChannel to correspond
      	to the new mainloop API, add g_io_channel_create_watch().
      
      	* gtypes.h: Move GTimeVal here.
      
      	* gthread.h: Remove gmain.h include to avoid circularity.
      
              * giounix.c: Update for new GMain API.
      
      	* giowin32.c: Update for new GMain API. (No check for
      	proper compilation or working.)
      
      	* timeloop.c timeloop-basic.c: A benchmarking program for
      	the main loop comparing the main loop against a
      	hand-written (timeloop-basic.c) variant.
      
      	* tests/mainloop-test.c: New torture test of mainloop.
      
      	* docs/Changes-2.0.txt: Started. Added text about
      	changes to GMain.
      
      	* gmain.c (g_main_add_poll_unlocked): Initial fd->revents
      	to zero. (#8482, Benjamin Kahn)
      e2fd4e2b
  31. 28 Nov, 2000 2 commits
    • Sebastian Wilhelmi's avatar
      Revamped errorcheck mutexes and added errorcheck cond_wait() and · fe0f3257
      Sebastian Wilhelmi authored
      
      2000-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread-impl.c: Revamped errorcheck mutexes and added errorcheck
      	cond_wait() and cond_timed_wait() funtions. This makes he whole
      	thing work. Now we only show the location of the locking/unlocking
      	for -DG_ERRORCHECK_MUTEXES and not the name of the mutex.
      
      	* gthread.c: Set the thread data before locking the mutex, because
      	the locking call might use g_thread_self ().
      
      	* gthread.h: Do only show the location of the locking/unlocking
      	for -DG_ERRORCHECK_MUTEXES and not the name of the mutex. Add the
      	errorcheck capability for g_cond_wait and g_cond_timed_wait as
      	well.
      fe0f3257
    • Havoc Pennington's avatar
      Add void in empty function arg list · dd58473e
      Havoc Pennington authored
      2000-11-27  Havoc Pennington  <hp@redhat.com>
      
              * gthread.h: Add void in empty function arg list
      dd58473e
  32. 12 Oct, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Split glib.h into many header files mostly according to the resp. · b1d15587
      Sebastian Wilhelmi authored
      
      2000-10-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
      	gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
      	ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
      	gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
      	grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
      	gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
      	into many header files mostly according to the resp. *.c-files.
      
      	* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
      	of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
      	__END_DECLS.
      
      	* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
      	gunicode.h, : Changed guard-macro names to something more
      	consistent.
      
      	* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
      b1d15587