[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remove support for old Solaris threads
From: |
Tom G. Christensen |
Subject: |
Re: Remove support for old Solaris threads |
Date: |
Mon, 8 Jul 2019 19:30:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
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