Click here to Skip to main content
16,005,281 members

Comments by 曦 陈 (Top 6 by date)

曦 陈 5-May-14 22:04pm View    
Yes. that is it. Thank you!
曦 陈 5-May-14 22:01pm View    
Oh!that might be the case. I will have a check
曦 陈 16-Apr-14 2:41am View    
Thank you. Problem solved. slow tasks block the event loop. I move them to worker threads.
曦 陈 15-Apr-14 20:58pm View    
I understand now. The program can not response since it's in sleep. But What I want to implement is, a process write to a pipe, another process read the data from the pipe and update the progressbar. A block read is the same as sleep, it would hang the process. However, a non-block read is too wasty. Any suggestion?
曦 陈 15-Apr-14 8:51am View    
Just very basic code sample like

progressBar->setMaximun(max);
for ( int i=0; i<max; ++i="" )
{
="" progressbar-="">setValue(i);
sleep(1);
}