| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2002-12-07 Not Zed <NotZed@Ximian.com>
* e-msgport.c (e_mutex_cond_wait): Allow an e-mutex to be used
with standard condition variables.
svn path=/trunk/; revision=19055
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-22 Not Zed <NotZed@Ximian.com>
* e-msgport.c (EMsgPort): Added an optional nspr pipe field.
(e_msgport_new): Init nspr pipe to null.
(e_msgport_destroy): close prfiledesc's if they're open.
(e_msgport_prfd): get the prfiledesc to wait asynchronously on.
(e_msgport_put): Write notify to nspr pipe if it exists.
(e_msgport_wait): poll nspr pipe fd if it is set, and the pipe fd
isn't.
(e_msgport_get): skim off a notify byte on the pr pipe if set.
(): Include config.h, and nspr stuff if HAVE_NSS is set.
svn path=/trunk/; revision=18893
|
|
|
|
|
|
|
|
|
| |
2002-07-25 Not Zed <NotZed@Ximian.com>
* e-msgport.c (e_dlist_length): Return the actual count, rather
than always 0!
svn path=/trunk/; revision=17587
|
|
|
|
|
|
|
|
|
| |
2002-06-03 Not Zed <NotZed@Ximian.com>
* e-msgport.c (e_msgport_wait): Protect against EINTR (irix?), see
bug #24086.
svn path=/trunk/; revision=17074
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-06 Not Zed <NotZed@Ximian.com>
* e-msgport.c (e_thread_destroy): Destroy our mutex too.
(e_thread_new): Add thread to a new list of all threads.
(e_thread_destroy): Remove thread from list of all threads.
(e_thread_busy): New function, returh true if we're busy somewhere
processing work.
svn path=/trunk/; revision=16683
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* e-msgport.c (e_mutex_assert_locked): Debugging routine. (Only
works for recursive mutexes right now.)
svn path=/trunk/; revision=9638
|
|
|
|
|
|
|
|
|
|
| |
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-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-02-23 Not Zed <NotZed@Ximian.com>
* e-msgport.c : Turned off some of the debug.
svn path=/trunk/; revision=8364
|
|
|
|
|
|
|
|
|
| |
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-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-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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
svn path=/trunk/; revision=7221
|
|
2000-12-24 Not Zed <NotZed@HelixCode.com>
* Merge from camel-mt-branch.
svn path=/trunk/; revision=7152
|