On Thu, May 27, 2010 at 8:17 AM, Bjoern Doebel <[email protected]> wrote:
> With a bit guesswork: reading from a file in general (and thus also > from std input) is undefined behavior as input will only be delivered > to one thread and you won't be able to control which one. That's wrong, the two different threads use a different "file descriptor", that would be a "race" if one writes and another one read, that is not this the case. G. ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
