Talk:cpp/thread/thread

How can I create asynchronous IO using threads.

That is one thread will read and another will write synchronously. whenever a thread write a message the thread 2 should have to wake up and read that data.


 * Please ask such questions on stackoverflow.com. --P12 13:58, 1 July 2014 (PDT)

What is the behavior WRT exceptions and std::thread? If this is discussed elsewhere, then at least a link is deserved IMO
 * discussed in std as "If the function throws an exception, std::terminate is called" and in std, as "std::terminate is called if ... an exception is thrown from the initial function of std::thread". Probably deserves a mention here and probably in cpp/language/throw. --Cubbi (talk) 05:51, 20 January 2016 (PST)
 * added both mentions. --Cubbi (talk) 08:26, 20 January 2016 (PST)