Skip to content
Tcl Source Code Artifact [643fb62ba9]
Login

Artifact [643fb62ba9]

Artifact 643fb62ba9301153ef120a75629854274c091d96:

Ticket change [643fb62ba9] - Ticket [653218ffffffffff|653218ffff] <i>Channels CloseProc() not called on close</i> status still Open with 4 other changes by schroedter on 2003-01-08 13:52:51.
D 2003-01-08T13:52:51
J icomment Logged\sIn:\sYES\s\nuser_id=99573\n\nFor\sblocking\schannels\sno\schanges\sare\snecessary.\nFor\snon-blocking\schannels\sthe\scurrent\sbehaviour\sis\sto\sput\sthe\s\nchannel\sto\s*blocking*\smode,\swait\suntil\sall\sTcl\soutput\sbuffers\s\nare\sdone\sand\sonly\sthen\scall\sTcl_DriverCloseProc().\s\n\nIf\sthere\swould\sbe\sa\snon-default\s[fconfigure\s-discardonclose\s1]\s\noption\sthe\schannel\ssystem\sshould\n1.\s*Not*\smake\sthe\schannel\sblocking.\n2.\sDiscard\sall\spending\soutput\sin\sTcl\sbuffers.\n3.\sImmediately\scall\sTcl_DriverCloseProc().\n\nThe\sserial\sSerialCloseProc()\sis\sresponsive\sfor\sthe\sOS-level\s\noutput.\sSo\sSerialCloseProc()\sshould\salso\scheck\sfor\sthe\s\n[fconfigure\s-discardonclose\s1]\sflag\sand\sdiscard\sOS-level\soutput.\n\nI\scould\swrite\sthe\sTIP\sand\simplement\sthe\sthe\schanges\sin\sthe\s\nserial\sdrivers\sSerialCloseProc()\sfor\sWindows\s&\sPosix.\sBut\sI\sdo\s\nnot\sfeel\sskilled\sfor\sthe\schanges\sin\sthe\sgeneral\schannel\ssystem.\n\n
J login schroedter
J mimetype text/plain
J username schroedter
K 653218ffffffffffffffffffffffffffffffffff
U schroedter
Z 4ddc57c4668c0441bf4ace9575491eb9