]> gcc.gnu.org Git - gcc.git/commitdiff
* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
authorLoren J. Rittle <ljrittle@acm.org>
Sat, 3 May 2003 07:42:22 +0000 (07:42 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Sat, 3 May 2003 07:42:22 +0000 (07:42 +0000)
From-SVN: r66418

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/thread/pthread1.cc

index d47f26dad70a772c23b67a3681c412c328af50fe..df4bcfc8ae6b649a710b6cf0fa588c6ed1d7623e 100644 (file)
@@ -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
index a6af93fbe9a5bf04ac46eb4687c08b0cd3a71372..2ea52ca975af684df771d3a2aca3a6236da1f73e 100644 (file)
@@ -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];
        }
     }
This page took 0.074361 seconds and 5 git commands to generate.