Re: [AD] Timer bug

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I think there should be an assert for the interval being >0 - that's how we commonly deal with invalid parameters.

On Sep 25, 2014 1:25 AM, "Thomas Fjellstrom" <tfjellstrom@xxxxxxxxxxxxxxxxxxxx> wrote:
Just playing with allegro a bit, and creating a timer with
al_create_timer(1/60); causes al_destroy_timer and al_stop_timer to lock up on
the timer mutex.

I think it should either fail if the timeout is invalid, or default it to the
smallest possible value that won't kill things if it is even possible to
detect that.

--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/