add PI mutex tests
authorRich Felker <dalias@aerifal.cx>
Tue, 9 Jul 2019 18:29:20 +0000 (14:29 -0400)
committerSzabolcs Nagy <nsz@port70.net>
Tue, 9 Jul 2019 20:45:12 +0000 (20:45 +0000)
commit2064be16d307b6409cd518303897cd0763cfdb97
treedc0a5b5d8eb7a68971d0d64f53bd520770e7b489
parent281b80f0e70fe28356c3f0ded8b86f28a5c74d0a
add PI mutex tests

for robust mutex tests, the code was already setup to be run more than
once with different attributes (pshared); I've added PI the same way.

for the main mutex tests, it would take a major refactoring to test
and report errors well for both the normal and PI cases, so I just
duplicated the source file with PI hard-coded on. this could be
improved later if desired.
src/functional/pthread_mutex_pi.c [new file with mode: 0644]
src/functional/pthread_robust.c