Commit a145e9b6 by Benjamin Kosnik Committed by Benjamin Kosnik

globals_io.cc (_GLIBCXX_once): Remove, unused.

2006-10-09  Benjamin Kosnik  <bkoz@redhat.com>

	* src/globals_io.cc (_GLIBCXX_once): Remove, unused.
	(_GLIBCXX_mutex): Same.
	(_GLIBCXX_mutex_addres): Same.
	(_GLIBCXX_mutex_init): Same.
	(_GLIBCXX_mutex_address_init): Same.

From-SVN: r117570
parent 8d2c2905
2006-10-09 Benjamin Kosnik <bkoz@redhat.com>
* src/globals_io.cc (_GLIBCXX_once): Remove, unused.
(_GLIBCXX_mutex): Same.
(_GLIBCXX_mutex_addres): Same.
(_GLIBCXX_mutex_init): Same.
(_GLIBCXX_mutex_address_init): Same.
2006-10-07 Paolo Carlini <pcarlini@suse.de> 2006-10-07 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28277 (partial: money_get bits) PR libstdc++/28277 (partial: money_get bits)
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
// the GNU General Public License. // the GNU General Public License.
#include "bits/c++config.h" #include "bits/c++config.h"
#include "bits/gthr.h"
#include <fstream> #include <fstream>
#include <istream> #include <istream>
#include <ostream> #include <ostream>
...@@ -108,24 +107,4 @@ namespace __gnu_internal _GLIBCXX_VISIBILITY(hidden) ...@@ -108,24 +107,4 @@ namespace __gnu_internal _GLIBCXX_VISIBILITY(hidden)
fake_wfilebuf buf_wcin; fake_wfilebuf buf_wcin;
fake_wfilebuf buf_wcerr; fake_wfilebuf buf_wcerr;
#endif #endif
// Globals for once-only runtime initialization of mutex objects. This
// allows static initialization of these objects on systems that need a
// function call to initialize a mutex. For example, see stl_threads.h.
#ifdef __GTHREAD_MUTEX_INIT
#elif defined(__GTHREAD_MUTEX_INIT_FUNCTION)
__gthread_once_t _GLIBCXX_once = __GTHREAD_ONCE_INIT;
__gthread_mutex_t _GLIBCXX_mutex;
__gthread_mutex_t *_GLIBCXX_mutex_address;
// Once-only initializer function for _GLIBCXX_mutex.
void
_GLIBCXX_mutex_init ()
{ __GTHREAD_MUTEX_INIT_FUNCTION (&_GLIBCXX_mutex); }
// Once-only initializer function for _GLIBCXX_mutex_address.
void
_GLIBCXX_mutex_address_init ()
{ __GTHREAD_MUTEX_INIT_FUNCTION (_GLIBCXX_mutex_address); }
#endif
} // namespace __gnu_internal } // namespace __gnu_internal
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