On 06/07/19 03:38, Bruno Haible wrote:
The old Solaris threads facility was needed for portability to the
ancient Solaris 2.4. Solaris >= 2.5.1 has POSIX threads.

Do note though that since you changed the witness symbol in 0f336e1192 the gnulib POSIX thread support has been unbuildable on Solaris < 7.

Just to see what state it's in on Solaris 2.6 I changed the witness back to pthread_cancel and created a testdir with: ./gnulib-tool --dir ../thread-test --with-tests --create-testdir pthread cond tls lock thrd

This resulted in:
...
test-once.c:40: assertion 'a == 42' failed
/bin/bash: line 5: 26049 Abort (core dumped) EXEEXT='' srcdir='.' MAKE='make' ${dir}$tst
FAIL: test-once1
...
test-nanosleep.c:62: assertion 'ts.tv_sec == 0' failed
/bin/bash: line 5: 26065 Abort (core dumped) EXEEXT='' srcdir='.' MAKE='make' ${dir}$tst
FAIL: test-nanosleep
...
FAIL: test-select-in.sh
...
====================
3 of 94 tests failed
====================

FWIW I don't think any of these are new for Solaris 2.6.

-tgc

Reply via email to