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

 The Main.hs file has 3 tests in it.  To choose a test, comment out the
 other tests and compile.

 Tests are performed by compiling and running the program.  Watch the
 console and the timing between ticks.  Ticks will occur at regular
 intervals when functioning correctly.  Ticks will occur 2 at a time when
 functioning incorrectly (e.g., tick 1 occurs, ticks 2 and 3 occur, ticks 4
 and 5 occur, etc.).

 test1 - This demonstrates that correct behavior occurs when timed
 callbacks are registered from the main thread.

 test2 - This demonstrates that undesirable behavior occurs when timed
 callbacks are registered from a timed callback.

 test3 - As in test 2, though a separate (light-weight) thread is forked to
 register the callback.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1692>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to