[Qt-interest] QThread Problem

Sonic get.sonic at gmail.com
Mon Feb 15 13:05:46 CET 2010


On 02/15/2010 09:53 AM, Yuvraj wrote:
>
> If i use  *scanf* or *cin*  functions inside of threads  only one thread
> is executing
>
> if i use *cin* function in main thread , main thread only executing. if
> i use *cin* function in sub thread , sub thread only executing
>
> I want to use cin or scanf function in side threads
>    
If one thread does a scanf and is waiting for user input, and if another 
thread does a scanf, what do you expect to happen?

Syam



More information about the Qt-interest-old mailing list