Boost::Timer does not tick

I've tried to use Boost::Timer together with Qt. However, the elapsed() function always does return the same value. I've found hints (see http://www.gerd-riesselmann.net/development/std-clock-threading-and-linux) that this might be related to the threading (used in Qt4). Is this a known issue? What is the suggested workaround (apart from using something else for timing? Best regards Christoph

Christoph wrote:
I've tried to use Boost::Timer together with Qt. However, the elapsed() function always does return the same value.
I've found hints (see http://www.gerd-riesselmann.net/development/std-clock-threading-and-linux) that this might be related to the threading (used in Qt4). Is this a known issue? What is the suggested workaround (apart from using something else for timing?
It isn't an issue I've seen before. I've got a prototype of a much improved timer. I'll try to post it for comment in the next few days. --Beman
participants (2)
-
Beman Dawes
-
Christoph