diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2003-05-03 07:42:22 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2003-05-03 07:42:22 +0000 |
commit | d4c67b6ee3f0b8b3da21a2233397512805d93264 (patch) | |
tree | 3e887218659993570bee254a1ec2059a469fcab9 | |
parent | 28068c2c9165662a4315ec455c167547172649e4 (diff) | |
download | gcc-d4c67b6ee3f0b8b3da21a2233397512805d93264.zip gcc-d4c67b6ee3f0b8b3da21a2233397512805d93264.tar.gz gcc-d4c67b6ee3f0b8b3da21a2233397512805d93264.tar.bz2 |
* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
From-SVN: r66418
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/thread/pthread1.cc | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d47f26d..df4bcfc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2003-05-03 Loren J. Rittle <ljrittle@acm.org> + + * testsuite/thread/pthread1.cc: Remove special case for FreeBSD. + 2003-05-02 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (CLEANFILES): Remove PCH files in target diff --git a/libstdc++-v3/testsuite/thread/pthread1.cc b/libstdc++-v3/testsuite/thread/pthread1.cc index a6af93f..2ea52ca 100644 --- a/libstdc++-v3/testsuite/thread/pthread1.cc +++ b/libstdc++-v3/testsuite/thread/pthread1.cc @@ -124,14 +124,6 @@ main (int argc, char** argv) { pthread_join (prod[i], NULL); pthread_join (cons[i], NULL); -#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]); - pthread_detach (cons[i]); - // ...but they are according to the FreeBSD 4.X code base - // or else you get a memory leak. -#endif delete tq[i]; } } |