playground plasmoid redux

Jason Stubbs jasonbstubbs at gmail.com
Fri Oct 3 16:01:35 CEST 2008


Benoit Jacob wrote:
> Another possibility: is it illegal to wait for a QThread that was just
> constructed but not yet started?
> I.e.
> 
> thread = new MyThreadClass();
> wait(thread);

wait(thread)? wait()'s parameter is an integer timeout...

If you mean thread->wait(), the documentation says it "returns true if 
the thread has not been started yet". ie, it doesn't wait at all.

--
Jason Stubbs


More information about the Plasma-devel mailing list