newlib-cygwin/winsup/testsuite/winsup.api/pthread
Jon Turney 938475f6de
Cygwin: testsuite: Make cancel3 and cancel5 more robust
Despite our efforts, sometimes the async cancellation gets deferred.

Notice this by calling pthread_testcancel(), and then try to work out if
async cancellation was ever successful by checking if all threads ran
for the full expected time, or if some were stopped early.

Also, increase the time we allow for the async cancellation to get
delivered to 30 seconds.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-07-18 16:45:25 +01:00
..
cancel1.c
cancel2.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
cancel3.c Cygwin: testsuite: Make cancel3 and cancel5 more robust 2023-07-18 16:45:25 +01:00
cancel4.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
cancel5.c Cygwin: testsuite: Make cancel3 and cancel5 more robust 2023-07-18 16:45:25 +01:00
cancel6.c
cancel7.c
cancel8.c
cancel9.c
cancel10.c
cancel11.c
cancel12.c
cleanup2.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
cleanup3.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
condvar1.c
condvar2.c
condvar2_1.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
condvar3.c
condvar3_1.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
condvar3_2.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
condvar3_3.c
condvar4.c
condvar5.c
condvar6.c
condvar7.c
condvar8.c
condvar9.c
count1.c
create1.c
create2.c
equal1.c
exit1.c
exit2.c
exit3.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
inherit1.c Cygwin: testsuite: Fix for limited thread priority values 2023-07-14 14:02:44 +01:00
join0.c
join1.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
join2.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
mainthreadexits.c
mutex1.c
mutex1d.c
mutex1e.c
mutex1n.c
mutex1r.c
mutex2.c
mutex3.c
mutex4.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
mutex5.c Cygwin: testsuite: Update mutex tests for changed default mutex type 2023-01-13 17:03:56 +00:00
mutex6d.c
mutex6e.c
mutex6n.c
mutex6r.c
mutex7.c Cygwin: testsuite: Update mutex tests for changed default mutex type 2023-01-13 17:03:56 +00:00
mutex7d.c Cygwin: testsuite: Update mutex tests for changed default mutex type 2023-01-13 17:03:56 +00:00
mutex7e.c
mutex7n.c Cygwin: testsuite: Update mutex tests for changed default mutex type 2023-01-13 17:03:56 +00:00
mutex7r.c
mutex8e.c
mutex8n.c
mutex8r.c
once1.c
priority1.c Cygwin: testsuite: Fix for limited thread priority values 2023-07-14 14:02:44 +01:00
priority2.c Cygwin: testsuite: Fix for limited thread priority values 2023-07-14 14:02:44 +01:00
rwlock1.c
rwlock2.c
rwlock3.c
rwlock4.c
rwlock5.c
rwlock6.c Cygwin: testsuite: 64-bit fixes in pthread testcases 2023-01-13 17:03:55 +00:00
rwlock7.c
self1.c
self2.c
test.h
threadidafterfork.c
tsd1.c