diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-03-07 01:32:43 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-03-07 01:32:43 +0000 |
commit | f83295bafc73a70666d5d67e05918b0e6882402c (patch) | |
tree | f71f116f1f9678557e7764415bf032ec269eadcf /libjava/java/sql/Statement.java | |
parent | 018e1b3b0b15655000518abaeca2c86c8fadf8a6 (diff) | |
download | gcc-f83295bafc73a70666d5d67e05918b0e6882402c.zip gcc-f83295bafc73a70666d5d67e05918b0e6882402c.tar.gz gcc-f83295bafc73a70666d5d67e05918b0e6882402c.tar.bz2 |
re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale())
2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12658
* src/locale_init.cc (locale::locale): Lock critical regions with
external mutexes.
(locale::global): Same.
* include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
Add in once bits for cases without __GTHREAD_MUTEX_INIT.
(__glibcxx_mutex_lock): Same.
* config/cpu/generic/atomicity.h: Remove
_GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
* src/misc-inst.cc: Move all locking bits out of this file.
* config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
* src/misc-inst.cc: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/linker-map.gnu: Remove types in the signature of atomic
exports, as they may vary.
From-SVN: r79043
Diffstat (limited to 'libjava/java/sql/Statement.java')
0 files changed, 0 insertions, 0 deletions