[Qt-interest] QThread Problem

Yuvraj yuvraj.ragupathi at indieontech.com
Mon Feb 15 13:42:58 CET 2010


Sonic wrote:
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>   
if one thread is waiting for user input also ,next thread has to be running


Thanks

Yuvraj






More information about the Qt-interest-old mailing list