Operating System - HP-UX
1826428 Members
3840 Online
109692 Solutions
New Discussion

Re: std::string and multithreading

 
SOLVED
Go to solution
Alex Vinokur
Frequent Advisor

srd::string and multithreading

Hi,

HP-UX v2 and V3

Can std::string cause problems in multithreading?
Should std::string support working in multithreaded mode?

Thanks

1 REPLY 1
Dennis Handly
Acclaimed Contributor
Solution

Re: std::string and multithreading

If you are using threads, you must compile with -mt.
std::string and iostream would cause aborts if you don't do this.