Skip to content
Tcl Source Code Artifact [b9735f5ebd]
Login

Artifact [b9735f5ebd]

Artifact b9735f5ebd13db96062c6cd2c15093e1b5e5d34d:

Ticket change [b9735f5ebd] - Ticket [462317ffffffffff|462317ffff] <i>Notification when there&#39;s no data</i> status still Open with 4 other changes by andreas_kupries on 2001-09-18 23:52:51.
D 2001-09-18T23:52:51
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nRegarding\sthe\smany\scalls\sof\s'time()',\sthis\sis\spart\sof\sthe\s\nnotifier.\n\nExplanation:\sThe\srelevant\sfunctions\sare\s'TimerSetupProc'\s\nand\s'TimerCheckProc'\sin\s'tcl/generic/tclTimer.c'.\n\nWhenever\stcl\sstarts\sto\swait\sfor\sevents\sit\swill\s\nuse\s'gettimeofday'\sto\sretrieve\sthe\scurrent\stime\sdown\sto\sthe\s\nusec\sand\sthen\suses\sthis\sto\scompute\sthe\stimeout\srequired\s\nfor\s'select'\sbased\supon\sthe\sdelay\stimes\sfor\sthe\sknown\s\ntimers\s(after\s...).\n\nSimilarly\swhen\sit\sis\sdone\swith\swaiting\sfor\sevents,\s\ni.e.\s'select'\sreturned,\sit\squeries\sthe\stime\sagain\sto\ssee\s\nwhich\sof\sthe\stimers\sexpired\sand\shave\sto\squeue\sevents.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 462317ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 4c3c48f932a845c80d66a5d5c78a0e50