[Bug libgcj/21524] Cancelling a TimerTask puts Timer binary heap in inconsistent state

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 21 20:32:00 GMT 2006



------- Comment #4 from tromey at gcc dot gnu dot org  2006-06-21 20:09 -------
I looked at this a little today.
The code does look wrong, but I couldn't write a simple test case
to make it fail.  Do you have one?

One problem I see is that serve() uses the task's 'scheduled' field
without checking to see if it is == -1.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21524



More information about the Gcc-bugs mailing list