| Age | Commit message (Collapse) | Author | 
|---|
|  | * pthread.h (pthread_mutex_t): revert to (pthread_mutex_t *);
        define a value to serve as PTHREAD_MUTEX_INITIALIZER.
        (pthread_mutex_t_): remove staticinit and valid elements.
        (pthread_cond_t): revert to (pthread_cond_t_ *);
        define a value to serve as PTHREAD_COND_INITIALIZER.
        (pthread_cond_t_): remove staticinit and valid elements.
        * mutex.c (pthread_mutex_t args): adjust indirection of references.
        (all functions): check for PTHREAD_MUTEX_INITIALIZER value;
        check for NULL (invalid).
        * condvar.c (pthread_cond_t args): adjust indirection of references.
        (all functions): check for PTHREAD_COND_INITIALIZER value;
        check for NULL (invalid).
Wed Mar 10 17:18:12 1999  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>
        * misc.c (CancelableWait): Undo changes from Mar 8 and 7.
tests/ChangeLog
Fri Mar 12 08:34:15 1999  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>
        * eyal1.c (main): Fix trylock loop; was not waiting for thread to lock
        the "started" mutex. | 
|  | * Makefile (condvar3, condvar4): Add tests. | 
|  | * condvar4.c (General): Reduce to simple test case; prerequisite
	is condvar3.c; add description.
	* condvar3.c (General): Reduce to simple test case; prerequisite
	is condvar2.c; add description.
	* condvar2.c (General): Reduce to simple test case; prerequisite
	is condvar1.c; add description.
	* condvar1.c (General): Reduce to simple test case; add
	description.
	* Template.c (Comments): Add generic test detail. | 
|  |  | 
|  | * Template.c: Revamp.
        * condvar1.c: Add.
        * condvar2.c: Add.
	* Makefile: Add condvar1 condvar2 tests.
        * exit1.c, exit2.c, exit3.c: Cosmetic changes. | 
|  | * Makefile: Some refinement.
        * *.c: More exhaustive checking through assertions; clean up;
        add some more tests. | 
|  | * Makefile: Now actually runs the tests.
        * tests.h: Define our own assert macro. The Mingw32
        version pops up a dialog but we want to run non-interactively.
        * equal1.c: use assert a little more directly so that it
        prints the actual call statement.
        * exit1.c: Modify to return 0 on success, 1 on failure. | 
|  | * pthread.h (PTHREAD_MUTEX_INITIALIZER): missing braces around
        cs element initialiser.
Bring some tests up-to-date. | 
|  | * README: Update.
	* Makefile: New file. Run all tests automatically. Primitive tests
	are run first; more complex tests are run last.
	* count1.c: New test. Validate the thread count.
	* exit2.c: Perform a simpler test.
	* exit3.c: New test. Replaces exit2.c, since exit2.c needs to
	perform simpler checking first.
	* create1.c: Update to use the new testsuite exiting convention.
	* equal1.c: Likewise.
	* mutex1.c: Likewise.
	* mutex2.c: Likewise.
	* once1.c: Likewise.
	* self2.c: Likewise.
	* self3.c: Likewise.
	* tsd1.c: Likewise. | 
|  | * tests/mutex2.c: Test static mutex initialisation.
        * tests/test.h: New. Declares a table mapping error numbers to
        error names. | 
|  | * private.c (_pthread_sem_timedwait): Move from semaphore.c.
        * semaphore.c : Remove redundant #includes.
        (_pthread_sem_timedwait): Move to private.c.
        (sem_wait): Add missing abstime arg to pthreadCancelableWait() call.
1999-01-17  Ross Johnson  <rpj@ise.canberra.edu.au>
        * runtest: New script to build and run a test in the tests directory. | 
|  | This will be tagged as snapshot-1999-01-04-1305 | 
|  | * cleanup.c (_pthread_handler_push): Fixed bug appending new
        handler to list reported by Peter Slacik
        <Peter.Slacik@leibinger.freinet.de>.
        (new_thread): Rename poorly named local variable to
        "new_handler". | 
|  | * tsd1.c (mythread): Fix some casts and add some diagnostics.
	Fix inverted conditional. | 
|  | * tsd1.c: New. Test TSD using 1 key and 2 threads. | 
|  | * eyal1.c: New file; contributed by Eyal Lebedinsky
	<eyal@eyal.emu.id.au>. | 
|  | * exit2.c (func): Return a value.
        (main): Call the right thread entry function. | 
|  |  | 
|  |  | 
|  |  |