![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Event queues allow you to simulate a sequence of events by way of the following recipe:
*---------------------------* | Fetch next element |<------------------* | from the event queue | | *---------------------------* | | *---------------------------* | *--> | Establish the time | | | of the event and perform | | | appropriate computations | | *---------------------------* | | *---------------------------* | *--> | Add new elements | --* | to the event queue | *---------------------------*