[AD] Strange timer behavior in 5.2.1.1 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Developers <allegro-developers@xxxxxxxxxx>
- Subject: [AD] Strange timer behavior in 5.2.1.1
- From: Edgar Reynaldo <edgarreynaldo@xxxxxxxxxx>
- Date: Sun, 21 Aug 2016 15:09:40 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=members-allegro-cc.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=eAFNagKs34p1UMopWBeyzW3hfpxwOqfQIBaCTaaOLAY=; b=M3+EeBHp/WnfVT2fqoqxfMTzEnrozgeEueh6jLD/z/xFl4h8xyhThXmVXmsmYJvVde 4qHMVugmykFY8nMO/BFdmv0jbkCc+4fVlgoOY6V8jBxCvzCRFHanlzu9eN7llAfMohK3 3mPYTEcwkyw6Cf86B/sUH+3JPT3cUbm2Tgd+HcMYSXK8biPoXknFRQKb6E5esPBkP5+z TUbcoWOht+qXyU9y7s8ctudH38JTrI5YkGJkyhwAXmGNZoY9hSwo3funbqPa9ax4HE12 8nHVBjNzYaEf7Xzi7fbE10tqGaekc5Ts6Ija64Sp/vnVW610ck510rwsMyq64QTjTde7 yK6A==
Hi guys.
I made some binaries for Allegro 5.2.1.1 using MinGW 5.3.0 and Neil Roy
used them to recompile his Pacman game and he noticed some very bizarre
behavior that is associated with Allegro timers.
It is detailed here :
https://www.allegro.cc/forums/thread/616446/1024510#target
Additionally, ex_timer_pause behaves strangely, detailed here :
https://www.allegro.cc/forums/thread/616446/1024512#target
There were some changes introduced in Allegro 5.2.0 which altered timer
behavior. According to the changelog, it says :
"Don't stop and join the timer thread when stopping the last timer
(prevents unnecessary delay in this situation on some platforms)."
Neil stops the timers in his game when waiting for a keypress. I suspect
the change in 5.2.0 is affecting this. The timers in his game don't
appear to be stopping, rather, the timer events seem to be piling up
while the timers are stopped.
As for ex_timer_pause, I'm not sure what's going on. It's very strange
that none of the printf output gets shown in any test run of the program.
Edgar