pthread1.cc: Remove needless workaround for FreeBSD 5.

* testsuite/thread/pthread1.cc: Remove needless workaround
	for FreeBSD 5.

From-SVN: r58289
This commit is contained in:
Loren J. Rittle 2002-10-18 21:37:53 +00:00 committed by Loren J. Rittle
parent dae1b24731
commit 5a6be855cb
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@
* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
* config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
* testsuite/thread/pthread1.cc: Remove needless workaround
for FreeBSD 5.
2002-10-18 Loren J. Rittle <ljrittle@acm.org>
Brad Spencer <spencer@infointeractive.com> (provided alternate
patch and improvements)

View File

@ -124,7 +124,7 @@ main (int argc, char** argv)
{
pthread_join (prod[i], NULL);
pthread_join (cons[i], NULL);
#if defined(__FreeBSD__)
#if defined(__FreeBSD__) && __FreeBSD__ < 5
// These lines are not required by POSIX since a successful
// join is suppose to detach as well...
pthread_detach (prod[i]);