Commit 3c8b6c60 by Zhou Drangon Committed by Benjamin Kosnik

re PR libstdc++/33682 (libstdc++ broken for !__GTHREAD_HAS_COND hosts)

2007-10-09  Zhou Drangon  <drangon.mail@gmail.com>

	PR libstdc++/33682
        * libsupc++/guard.cc: Make single conditional variable
        implementation dependent to __GTHREAD_HAS_COND.

From-SVN: r129181
parent dfbed397
2007-10-09 Zhou Drangon <drangon.mail@gmail.com>
PR libstdc++/33682
* libsupc++/guard.cc: Make single conditional variable
implementation dependent to __GTHREAD_HAS_COND.
2007-10-09 Benjamin Kosnik <bkoz@montsouris.artheist.org>
PR libstdc++/33489 continued.
......
......@@ -62,6 +62,7 @@ namespace
}
}
#ifdef __GTHREAD_HAS_COND
namespace
{
// A single conditional variable controlling all static initializations.
......@@ -83,6 +84,7 @@ namespace
return *static_cond;
}
}
#endif
#ifndef _GLIBCXX_GUARD_TEST_AND_ACQUIRE
inline bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment