Tcl package Thread source code

Artifact [24aa264e0d]
Login

Artifact 24aa264e0ddaf8946fa383227fca564fb192f75ec988db0d17fb56e219df9f31:

Ticket change [24aa264e0d] - Ticket [b5709ea906] [::thread::send -async] posting order not respected when sending to current thread status still Open with 3 other changes by sebres 2018-07-31 15:44:54.
D 2018-07-31T15:44:54.580
J icomment But\syou\sdid\sstill\snot\sunderstand...\r\n\r\nif\syou'll\sdo\sthat,\sthe\sevent\swill\sbe\sappended\sdirectly\sinto\sthe\squeue\sof\sthe\sthread,\sso\sin\sthis\scase\sit\swill\sbe\snot\sLAST\s(as\sby\sidle)\sbut\sFIRST\sevent\s(because\stimer\sevents\scoming\slater\svia\sprocessing\sof\sevent-sources).\r\n\r\nSo\sagain,\sit\scannot\sbe\s"on\sthe\sorder\sthey\swere\sposted",\sbecause\sthey\sare\sanother\stypes\sof\sevents.\r\nIt\swill\sbe\snot\sbetween\syour\stimer-events,\sbut\seither\shereafter\s(like\snow)\sor\sbefore\s(if\sdirect\sappended\sto\sevent-queue).\r\nBut\sdefinitely\snot\sbetween.\r\n\r\nFor\sthis\scase\s"thread::send\s-async\s[thread::id]"\sshould\sbe\squasi\srewritten\sas\s"after\s0",\sand\sI'm\sdefinitely\sagainst\sthis,\sbecause\sit\sproduces\sunexpected\soverhead.\r\n\r\nPossibly\sfor\smy\sanother\sevent-branch\s(that\sI\swrote\sin\stcl-core-repo),\swhere\s"after\s0"\shave\sO(1)\sby\schanging\sof\stimer-queue,\sdoes\snot\sgenerate\sextra\soverhead\sas\sregards\stime-compare\sat\sall\s(because\screates\san\simmediate\stimer-event),\setc.<br/>\r\nIf\sthis\swill\sbe\saccepted\ssometimes...
J login sebres
J mimetype text/x-fossil-wiki
K b5709ea9060d17f58ba48110351c964b3408e362
U sebres
Z 12966e872ad0fcccf9a7327ab117613e