Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#41 Function to "peek" an event

closed
nobody
None
5
2007-09-18
2005-08-27
Anonymous
No

I would like a function that handles an event, but if
none is in the queue, return immediately instead of
blocking.

Discussion

  • Richard Rauch
    Richard Rauch
    2005-09-26

    Logged In: YES
    user_id=854844

    Did you look at glutMainLoopEvent()?

    The problem is that this reduces you to busy-waiting. But it
    looks like what you want can already be done.

     
  • John F. Fay
    John F. Fay
    2007-09-18

    • status: open --> closed
     
  • John F. Fay
    John F. Fay
    2007-09-18

    Logged In: YES
    user_id=70811
    Originator: NO

    This appears to have been settled a couple of years ago. If this is still an issue, please reopen this feature request or open a new one and contact the developers' mailing list.