On terça-feira, 19 de março de 2013 09.57.57, K. Frank wrote:
> But seriously, does anyone know what the motivation for making sleep
> protected might have been?
It was meant to be used only in the run() method. And as Frank H. replied, it
prevents people from trying to put another thread to sleep
Hi Frank!
On Tue, Mar 19, 2013 at 10:24 AM, Frank Hemer wrote:
On Tuesday 19 March 2013 15:11:03 André Somers wrote:
>> Op 19-3-2013 14:57, K. Frank schreef:
>> > ...
>> > A cross-platform sleep (in a cross-platform framework, at that). What's
>> > not to like?
>> >
>> > But seriously, does any
On Tuesday 19 March 2013 15:11:03 André Somers wrote:
> Op 19-3-2013 14:57, K. Frank schreef:
> > Hello Tony!
> >
> > I have something of a side question, below.
> >
> > On Tue, Mar 19, 2013 at 2:09 AM, Tony Rietwyk
wrote:
> >> Hi Ken,
> >> ...
> >> // Hack to get around Qt strictness...
> >>
Hi André!
On Tue, Mar 19, 2013 at 10:11 AM, André Somers wrote:
> Op 19-3-2013 14:57, K. Frank schreef:
>> Hello Tony!
>>
>> I have something of a side question, below.
>> ...
>> A cross-platform sleep (in a cross-platform framework, at that). What's
>> not to like?
>>
>> But seriously, does any
Op 19-3-2013 14:57, K. Frank schreef:
> Hello Tony!
>
> I have something of a side question, below.
>
> On Tue, Mar 19, 2013 at 2:09 AM, Tony Rietwyk wrote:
>> Hi Ken,
>> ...
>> // Hack to get around Qt strictness...
>>
>> class TSleepThread: public QThread
>> {
>> public:
>>static void sl
Hello Tony!
I have something of a side question, below.
On Tue, Mar 19, 2013 at 2:09 AM, Tony Rietwyk wrote:
> Hi Ken,
> ...
> // Hack to get around Qt strictness...
>
> class TSleepThread: public QThread
> {
> public:
> static void sleep(unsigned long secs) { QThread::sleep(secs); };
>
Hi Pengliang,
I am not pretty sure but it may be possible as QThreadPoolThread is a
friend class of Qrunnable class and
QThreadPoolThread is derived from QThread and QThread has the sleep method.
Hope this helps.
Regards,
Amogh.
On Tue, Mar 19, 2013 at 8:11 AM, pengliang(彭亮) wrote:
> Hi
Hi all
I don’t know how to block run function several seconds of Qrunnable
class.
Andybody know?
Thanks
Ken
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest