[Qt-interest] QThread Problem

Yuvraj yuvraj.ragupathi at indieontech.com
Mon Feb 15 14:03:40 CET 2010


Sonic wrote:
> On 02/15/2010 06:12 PM, Yuvraj wrote:
>   
>> Sonic wrote:
>>     
>>> 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 
>>>       
>> if one thread is waiting for user input also ,next thread has to be 
>> running
>>
>>     
> Yuvraj, I'm asking what should happen if both threads make calls to 
> scanf at the same time.
>
> Syam
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>   
only sub -thread is  running. This one I  conclude from the printf 
statements.


Yuvraj



More information about the Qt-interest-old mailing list