OSDN Git Service

* testsuite/thread/pthread1.cc: Remove needless workaround
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Oct 2002 21:37:53 +0000 (21:37 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Oct 2002 21:37:53 +0000 (21:37 +0000)
for FreeBSD 5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58289 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 2b7f234..0cd9e61 100644 (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)
index 71afefc..eaa634d 100644 (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]);