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:
parent
dae1b24731
commit
5a6be855cb
@ -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)
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user