Skip to content
Tcl Source Code Artifact [0729138a8f]
Login

Artifact [0729138a8f]

Artifact 0729138a8f6825f27d7aeb4acb6ed7bb0317c249:

Ticket change [0729138a8f] - Ticket [943274ffffffffff|943274ffff] <i>Tcl 8.4.5 with Expect 5.39 hangs waiting for data matching p</i> status still Open with 4 other changes by andreas_kupries on 2004-05-05 23:37:36.
D 2004-05-05T23:37:36
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nFound\sthe\sentry\sin\sthe\schangelog\safter\sa\scvs\sannotate\s...\nHere\sit\sis.\sAnd\sthis\sseems\sto\sbe\sexactly\sabout\sthe\ssituation\nyou\sare\sencountering.\sSeems\sthat\sI\shave\sto\srevisit\sthis\scode.\n\n2001-09-26\s\sAndreas\sKupries\s\n<[email protected]>\s\n\n*\sdoc/fileevent.n:\sAccepted\s[Patch\s#465279]\sadding\san\nexample\sto\n\s\sthe\sfileevent\smanpage.\sMinor\smodifications\sto\sget\sa\sbetter\n\s\sformatting.\sReport\sand\spatch\sby\sDavid\sN.\sWelton\n\s\s<[email protected]>.\n\n*\sThe\schanges\sbelow\sfix\s[Bug\s#462317]\swhere\sExpect\stried\sto\nread\n\s\smore\sthan\swas\sin\sthe\sbuffers\sand\sthen\sblocked\sin\sthe\sOS\ncall\sas\n\s\sits\spty\schannel\sdriver\sprovides\sno\sblockmodeproc\sthrough\nwhich\n\s\sthe\sOS\scould\sbe\snotified\sof\sblocking-behaviour.\sBecause\nof\sthis\n\s\sthe\sgeneral\sI/O\score\shas\sto\stake\smore\scare\sthan\susual\sto\n\s\spreserve\sthe\ssemantics\sof\snon-blocking\schannels.\n\n\s\sThe\sproblem\swas\sreported\sby\s"Kevin\sO'Gorman"\n\s\s<[email protected]>.\n\n*\sgeneric/tclIO.c\s(Tcl_ReadRaw):\sDo\snot\sread\sfrom\sthe\sdriver\sif\n\s\sthe\schannel\sis\snon-blocking\sand\sthe\sfileevent\scausing\sthe\nread\n\s\swas\sgenerated\sby\sa\stimer.\sWe\sdo\snot\sknow\sif\sthere\sis\sdata\n\s\savailable\sfrom\sthe\sOS.\sInstead\sof\sgoing\sto\sthe\sOS\sfor\nmore\sand\n\s\spotentially\sblocking\swe\ssimply\ssignal\sEWOULDBLOCK\sto\sthe\nhigher\n\s\slevels\sto\scause\sthe\ssystem\sto\swait\sfor\strue\sfileevents.\n\s\s(GetInput):\sSame\sas\sbefore.\n\s\s(ChannelTimerProc):\sAdded\sset\sand\sclear\sof\sCHANNEL_TIMER_FEV.\n\n*\sgeneric/tclIO.h\s(CHANNEL_TIMER_FEV):\sNew\sflag\sfor\nchannels.\sIs\n\s\sset\sif\sa\sfileevent\swas\sgenerated\sby\sa\stimer,\sthe\schannel\nis\snot\n\s\sblocking\sand\sthe\sdriver\sdid\snot\sprovide\sa\sblockmodeproc.\nIn\sthat\n\s\scase\sthe\sI/O\score\shas\sto\sbe\sespecially\scareful\sabout\sgoing\sto\n\s\sthe\sdriver\sfor\smore\sdata.\n\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 943274ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 56157045b6b9c08c398039a1271b33f3