aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-msgport.c
Commit message (Collapse)AuthorAgeFilesLines
* Write the pipe notification outside the lock. This way if the pipe fills82001-09-291-3/+8
| | | | | | | | | | | | 2001-09-28 <NotZed@Ximian.com> * e-msgport.c (e_msgport_put): Write the pipe notification outside the lock. This way if the pipe fills up because of too many outstanding request, the queue isn't deadlocked. This only happens wiht 4096 outstanding messages, so something is getting VERY busy! Fixes #11121. svn path=/trunk/; revision=13218
* Instead of using pthread_cancel() which seems to have numerous12001-09-211-62/+49
| | | | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Instead of using pthread_cancel() which seems to have numerous implementation issues, send a special quit message to the subordinate thread. (thread_dispatch): When it gets a quit message, well, quit! svn path=/trunk/; revision=13043
* Debugging routine. (Only works for recursive mutexes right now.)Dan Winship2001-05-021-0/+8
| | | | | | | * e-msgport.c (e_mutex_assert_locked): Debugging routine. (Only works for recursive mutexes right now.) svn path=/trunk/; revision=9638
* Added #include <glib.h> and move corresponding local headers to the top toKjartan Maraas2001-04-241-2/+2
| | | | | | | | | | 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
* Remove #include <glib.h> Shuffle some headers. Remove #includeKjartan Maraas2001-03-301-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Turned off some of the debug.Not Zed2001-02-231-2/+2
| | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * e-msgport.c : Turned off some of the debug. svn path=/trunk/; revision=8364
* Wait a lot lot longer for threads to finish.Not Zed2001-02-231-2/+2
| | | | | | | | | 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
* Turn on joining of cancelled threads. (e_msgport_wait): Put a cleanupNot Zed2001-01-311-1/+12
| | | | | | | | | | 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
* If we have waiting threads, then dont start a new one for the NEW case.Not Zed2001-01-291-8/+89
| | | | | | | | | | | | | 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
* #define E_THREAD_NONE as ((pthread_t)~0) and use that instead of ~0Dan Winship2001-01-061-10/+12
| | | | | | | | * 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
* Some debug commented out, static list intialiser.Michael Zucci2001-01-031-6/+7
| | | | svn path=/trunk/; revision=7221
* Merge from camel-mt-branch.Not Zed2000-12-241-0/+774
2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7152