This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
> > >I am a bit confused. Audit trail is kind of hard to read. Have you been > >waiting on something from me? > > Uh. Yeah. > > We need a test case. Provide one and we'll re-open this. I thought I'd > made this clear, but apparently not. > See the attached file. get_locale() is functionally equivalent to std::locale::classic() ----- test results (RedHat 7.3 2.4.18-17.7.xsmp 2 CPU ----- [root@epos4 test]# c++ -DDO_LOCK -o test_lock -pthread loc_thr.cpp [root@epos4 test]# c++ -o test_nolock -pthread loc_thr.cpp [root@epos4 test]# ./test_lock Creating thread 0 Creating thread 1 Creating thread 2 Creating thread 3 Starting sorting... Sorting time: 4.08 Sorting time: 4.02 Sorting time: 4.26 Sorting time: 4.21 [root@epos4 test]# ./test_nolock Creating thread 0 Creating thread 1 Creating thread 2 Creating thread 3 Starting sorting... Sorting time: 0.06 Sorting time: 0.06 Sorting time: 0.06 Sorting time: 0.06
Attachment:
loc_thr.cpp
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |