#1692: GLUT timedCallback fires twice
---------------------------------------+------------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:  [EMAIL PROTECTED]
        Type:  bug                     |       Status:  new                 
    Priority:  normal                  |    Milestone:  Not GHC             
   Component:  libraries (other)       |      Version:  6.6.1               
    Severity:  normal                  |   Resolution:                      
    Keywords:                          |   Difficulty:  Unknown             
          Os:  MacOS X                 |     Testcase:                      
Architecture:  x86                     |  
---------------------------------------+------------------------------------
Comment (by guest):

 I modified the GHC test program to have test 2 create 10 lines (0-9) where
 each line creates a single descendent for a total of 5 generations.
 (I.e., start with 10 callbacks, end with 10 callbacks).

 results3.txt contains the results from running this script; it's been
 edited for clarity.

  * 0s: Lines 0-9 fire 1 event each.
  * 2s: Lines 0-9 fire 1 event each.  Line 0 fires again immediately after
 line 9 fires.
  * 4s: Lines 1-9 and line 0 fire 1 event each.   Line 1 fires again
 immediately after line 0 fires.
  * 6s: Lines 2-9 and line 0-1 fire 1 event each.   Line 2 fires again
 immediately after line 1 fires.
  * 8s: Lines 3-9  fire 1 event each.   Lines 0-2 don't fire because
 they've already fired 5 times.

 It's important to note that all timedcallbacks that fire at 0s were added
 to the queue from the starting thread.  In all other seconds, they were
 added from a timedcallback thread.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1692#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to