[Qt-interest] QThread Problem

Sonic get.sonic at gmail.com
Mon Feb 15 13:50:33 CET 2010


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



More information about the Qt-interest-old mailing list