[Bug libstdc++/56016] mutlithreading problem with iostream

2013-01-17 Thread bugs at justexpired dot e4ward.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56016 --- Comment #4 from JxP 2013-01-17 17:51:53 UTC --- Comment on attachment 29196 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29196 sample program using iostream only This last one doesn't even include cstdio or unistd.h. Still,

[Bug libstdc++/56016] mutlithreading problem with iostream

2013-01-17 Thread bugs at justexpired dot e4ward.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56016 --- Comment #3 from JxP 2013-01-17 17:45:24 UTC --- Created attachment 29196 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29196 sample program using iostream onlywith stdio

[Bug libstdc++/56016] mutlithreading problem with iostream

2013-01-17 Thread bugs at justexpired dot e4ward.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56016 --- Comment #2 from JxP 2013-01-17 17:24:52 UTC --- Created attachment 29195 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29195 sample program not mixing iostream with stdio I confirm that using ios_base::sync_with_stdio(false) m

[Bug libstdc++/56016] mutlithreading problem with iostream

2013-01-17 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56016 --- Comment #1 from Andrew Pinski 2013-01-17 09:16:20 UTC --- You might need std::ios_base::sync_with_stdio(false);