Commit Graph

10 Commits

Author SHA1 Message Date
4ce894e3ab Debugging routine. (Only works for recursive mutexes right now.)
* e-msgport.c (e_mutex_assert_locked): Debugging routine. (Only
	works for recursive mutexes right now.)

svn path=/trunk/; revision=9638
2001-05-01 17:37:31 +00:00
4c2f2ea4a7 Added #include <glib.h> and move corresponding local headers to the top to
2001-04-24  Kjartan Maraas  <kmaraas@gnome.org>

	* e-gui-utils.c, e-memory, e-msgport.c, e-pilot-map, e-sexp.c:
	Added #include <glib.h> and move corresponding local headers
	to the top to catch missing includes in them. Tip from clahey.

svn path=/trunk/; revision=9537
2001-04-24 09:23:12 +00:00
6d9167de80 Remove #include <glib.h> Shuffle some headers. Remove #include
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-corba-utils.h: Remove #include <glib.h>
	* e-dialog-widgets.c: Shuffle some headers.
	* e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h>
	* e-gtk-utils.c: #include <gtk/gtksignal.h>
	* e-gtk-utils.h: Replace #include <gtk/gtk.h>
	* e-gui-utils.c: Replace #include <gnome.h>
	* e-html-utils.c: Shuffle headers.
	* e-iterator.c: Replace #include <gtk/gtk.h>
	* e-iterator.h: Replace #include <gtk/gtk.h>
	* e-list-iterator.c: Remove #include <gtk/gtk.h>
	* e-list-iterator.h: Replace #include <gtk/gtk.h>
	* e-list.c: Remove #include <gtk/gtk.h>
	* e-list.h: Replace #include <gtk/gtk.h>
	* e-memory.c: #include <string.h> and <stdlib.h>
	* e-msgport.c: Move around some includes. s/%d/%ld/g in a printf()
	call to fix a warning.
	* e-pilot-map.c: #include <string.h>. Replace #include <gnome.h>
	* e-pilot-util.c: Remove #include <gnome.h>
	* e-sexp.c: Remove #include <glib.h>
	* e-sexp.h: Replace #include <gtk/gtk.h>
	* e-time-utils.c: #include <string.h>
	* md5-utils.c: Shuffle headers.
	* test-ename-western-gtk.c: Replace #include <gnome.h>
	* test-ename-western.c: Same here.

svn path=/trunk/; revision=9016
2001-03-29 18:07:13 +00:00
c2d5b54e94 Turned off some of the debug.
2001-02-23  Not Zed  <NotZed@Ximian.com>

        * e-msgport.c : Turned off some of the debug.

svn path=/trunk/; revision=8364
2001-02-23 02:42:15 +00:00
c70f26c34b Wait a lot lot longer for threads to finish.
2001-02-23  Not Zed  <NotZed@Ximian.com>

        * e-msgport.c (e_thread_destroy): Wait a lot lot longer for
        threads to finish.

svn path=/trunk/; revision=8352
2001-02-22 22:32:29 +00:00
80697cc5ad Turn on joining of cancelled threads. (e_msgport_wait): Put a cleanup
2001-01-30  Not Zed  <NotZed@Ximian.com>

        * e-msgport.c (e_thread_destroy): Turn on joining of cancelled threads.
        (e_msgport_wait): Put a cleanup handler to clear the mp lock if it
        happens in cond_wait, since it will be locked again.

svn path=/trunk/; revision=7919
2001-01-30 23:08:25 +00:00
d057619fd6 If we have waiting threads, then dont start a new one for the NEW case.
2001-01-29  Not Zed  <NotZed@Ximian.com>

        * e-msgport.c (e_thread_put): If we have waiting threads, then
        dont start a new one for the NEW case.
        (thread_dispatch): For the NEW case, dont exit, just keep running,
        waiting for a new message to come along.
        (e_thread_destroy): When cleaning up NEW threads, cancel any
        non-busy threads.

svn path=/trunk/; revision=7883
2001-01-29 09:03:04 +00:00
fc9fd0c4dd #define E_THREAD_NONE as ((pthread_t)~0) and use that instead of ~0
* e-msgport.c: #define E_THREAD_NONE as ((pthread_t)~0) and use
	that instead of ~0 throughout. (pthread_t is a pointer type on my
	system, so there are lots of warnings without the cast.)

svn path=/trunk/; revision=7271
2001-01-05 20:04:15 +00:00
95279feb14 Some debug commented out, static list intialiser.
svn path=/trunk/; revision=7221
2001-01-03 00:09:02 +00:00
5674966eeb Merge from camel-mt-branch.
2000-12-24  Not Zed  <NotZed@HelixCode.com>

        * Merge from camel-mt-branch.

svn path=/trunk/; revision=7152
2000-12-24 00:58:02 +00:00