Overview
| Artifact ID: | b9735f5ebd13db96062c6cd2c15093e1b5e5d34d |
|---|---|
| Ticket: | 462317ffffffffffffffffffffffffffffffffff
Notification when there's no data |
| User & Date: | andreas_kupries on 2001-09-18 23:52:51 |
Changes
- icomment:
Logged In: YES user_id=75003 Regarding the many calls of 'time()', this is part of the notifier. Explanation: The relevant functions are 'TimerSetupProc' and 'TimerCheckProc' in 'tcl/generic/tclTimer.c'. Whenever tcl starts to wait for events it will use 'gettimeofday' to retrieve the current time down to the usec and then uses this to compute the timeout required for 'select' based upon the delay times for the known timers (after ...). Similarly when it is done with waiting for events, i.e. 'select' returned, it queries the time again to see which of the timers expired and have to queue events.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"