[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Big Qthread vs. pthread and usleep problem
From: Viktor Rosenfeld <rosenfel () informatik ! hu-berlin ! de>
Date: 2001-11-30 1:51:21
[Download RAW message or body]
Hi Ivica,
Ivica Bukvic wrote:
> I am in a process of fixing the resource usage of my app, since right
> now it is an outright "system resource hog." This is due to fact that my
> pthread has an infinite loop constantly checking elapsed time, so that
> it can accordingly update the gui display of the timer (chrono-like
> display). In order to fix this I've tried 2 approaches:
Why not use QObject::startTimer() with a appropriate interval?
Cheers,
Viktor
--=20
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/
[Attachment #3 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic