summaryrefslogtreecommitdiffstats
path: root/regress/lib/libpthread/pthread_mutex/pthread_mutex.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Another tiny test caseguenther2012-03-241-1/+4
|
* Check that PTHREAD_MUTEX_NORMAL mutexes will self-deadlock and thatguenther2012-02-231-1/+48
| | | | pthread_mutex_timedlock() will block and then timeout on self-deadlock
* Round-robin behavior isn't guaranteed by SCHED_OTHER and the kernelguenther2012-02-201-2/+3
| | | | | doesn't have SCHED_FIFO or SCHED_RR support, so use sleep(1) to 'ensure' the second thread gets the lock when expected
* Add a test for recursive pthread_mutex_trylock()uwe2011-09-231-10/+33
| | | | ok guenther@
* after mutex_unlock, there's no guarantee that a waiting thread willtedu2005-12-191-1/+2
| | | | start running. calling pthread_yield makes test pass with rthreads
* -Wall cleanup.fgsch2005-10-301-1/+4
|
* various cleanups; david says results are samederaadt2003-07-311-27/+21
|
* Fix pthread_mutex regression test... undefined behavior does notmarc2001-11-031-4/+6
| | | | | | | | | | | mean != EPERM in one test, minor changes to recursive mutex test. remove printf in signal test signal handler, run test long enough to ensure signal hander is called at least twice, reduce output. Note: running these tests over a remote console may indicate bogus falures due to console output latency. Any test that takes longer than 5 seconds to complete may be flagged as a failure.
* per man page and gcc 3.0.1, exit requires prototype from stdlib.htodd2001-09-201-1/+2
|
* Regression tests for libc_r (pthreads) library.fgsch2001-08-151-0/+194
Thanks to pval@ for resolving the license stuff.