Skip to content
Tcl Source Code Artifact [f99f83647b]
Login

Artifact [f99f83647b]

Artifact f99f83647beb80f5b18f5b589d812e64a3d4362e:

Manifest of check-in [f99f83647b] - * tclIO.c: Fixed [SF Tcl Bug 943274]. This is the same problem as * tclIO.h: [SF Tcl Bug 462317], see ChangeLog entry 2001-09-26. The fix done at that time is incomplete. It is possible to get around it if the actual read operation is defered and not executed in the event handler itself. Instead of tracking if we are in an read caused by a synthesized fileevent we now track if the OS has delivered a true event = actual data and bypass the driver if a read finds that there is no actual data waiting. The flag is cleared by a short or full read. by andreas_kupries on 2004-05-19 19:16:18.
B 06cfb3828ae320f18e376614a3881d3aa73c6940
C \n\t*\stclIO.c:\sFixed\s[SF\sTcl\sBug\s943274].\sThis\sis\sthe\ssame\sproblem\sas\n\t*\stclIO.h:\s[SF\sTcl\sBug\s462317],\ssee\sChangeLog\sentry\n\t\s\s\s\s\s\s\s\s\s\s\s2001-09-26.\sThe\sfix\sdone\sat\sthat\stime\sis\sincomplete.\sIt\n\t\s\s\s\s\s\s\s\s\s\s\sis\spossible\sto\sget\saround\sit\sif\sthe\sactual\sread\n\t\s\s\s\s\s\s\s\s\s\s\soperation\sis\sdefered\sand\snot\sexecuted\sin\sthe\sevent\n\t\s\s\s\s\s\s\s\s\s\s\shandler\sitself.\sInstead\sof\stracking\sif\swe\sare\sin\san\n\t\s\s\s\s\s\s\s\s\s\s\sread\scaused\sby\sa\ssynthesized\sfileevent\swe\snow\strack\sif\n\t\s\s\s\s\s\s\s\s\s\s\sthe\sOS\shas\sdelivered\sa\strue\sevent\s=\sactual\sdata\sand\n\t\s\s\s\s\s\s\s\s\s\s\sbypass\sthe\sdriver\sif\sa\sread\sfinds\sthat\sthere\sis\sno\n\t\s\s\s\s\s\s\s\s\s\s\sactual\sdata\swaiting.\sThe\sflag\sis\scleared\sby\sa\sshort\sor\n\t\s\s\s\s\s\s\s\s\s\s\sfull\sread.\n
D 2004-05-19T19:16:18
F ChangeLog 478ed86c815319e5c296720d49961688f3e504c9
F generic/tclIO.c 3013224265daa4c6726805a5b9fcbc56cf99cd85
F generic/tclIO.h 2e226ef8c522571e82af2b180f44f70cb27c2cf5
P 06cfb3828ae320f18e376614a3881d3aa73c6940
U andreas_kupries
Z c56f10bfb47859aeeeab1dcbfa02b5e9