aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-msgport.h
Commit message (Collapse)AuthorAgeFilesLines
* A time-based thread-safe in-memory cache thing. Called em_cache 'causeNot Zed2004-01-141-0/+23
| | | | | | | | | 2004-01-13 Not Zed <NotZed@Ximian.com> * e-msgport.c (em_cache*): A time-based thread-safe in-memory cache thing. Called em_cache 'cause there's an e_cache in gal. svn path=/trunk/; revision=24213
* Allow an e-mutex to be used with standard condition variables.Not Zed2002-12-091-0/+2
| | | | | | | | | 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
* Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe toNot Zed2002-11-231-0/+3
| | | | | | | | | | | | | | | | 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
* Destroy our mutex too. (e_thread_new): Add thread to a new list of allNot Zed2002-05-061-0/+1
| | | | | | | | | | | | 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
* Debugging routine. (Only works for recursive mutexes right now.)Dan Winship2001-05-021-0/+1
| | | | | | | * e-msgport.c (e_mutex_assert_locked): Debugging routine. (Only works for recursive mutexes right now.) svn path=/trunk/; revision=9638
* Some debug commented out, static list intialiser.Michael Zucci2001-01-031-0/+2
| | | | svn path=/trunk/; revision=7221
* Merge from camel-mt-branch.Not Zed2000-12-241-0/+79
2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7152