Commit Graph

6 Commits

Author SHA1 Message Date
c43c83145a Allow an e-mutex to be used with standard condition variables.
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-12-09 00:23:58 +00:00
554b987da7 Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe to
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-11-22 22:28:49 +00:00
95f58c95b6 Destroy our mutex too. (e_thread_new): Add thread to a new list of all
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
2002-05-06 11:46:36 +00:00
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
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