Tcl package Thread source code

Artifact [05731df680]
Login

Artifact 05731df680ab375f750827b05804b9f881df986ac585968748640f33a5be6fca:

Ticket change [05731df680] - 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 12:22:41.
D 2018-07-31T12:22:41.820
J icomment Although\sidle-event\sis\sindeed\snot\sreally\sgood\sstrategy\sfor\sasync\ssend\sto\sself.\r\n\r\nBut\sI\sdon't\ssee\sthis\sas\sissue.\r\n\r\nPlease\snote:\r\n<ul><li>"after"\sevents\sare\stimer-events\sand\swill\sbe\sexecuted\sas\sone\schunk\s(if\sthe\stimer\swas\sreached,\sand\sin\scase\sof\safter\s0\sit\sis\salways\sthe\scase);\r\n</li><li>this\smeans\s-\syou\scan\snot\sinsert\sin-between\s0-timer\sevents,\sunless\syou\sdon't\sgenerate\sa\stimer-event\salso\s(I\sdon't\sreally\ssee\sany\sadvantages\sby\sgeneration\sof\s0-timer\sevent\sin\scase\sof\sasync\ssend).\r\n</li><li>events\sare\scumulated\swith\sevent\ssource\shandlers\s(setupProc/checkProc),\sso\sthe\stime\swhere\sevents\sare\sreached\sthe\sevaluation\sphase\sis\sundefined;\r\n</li><li>if\sthe\sevent\swill\sbe\sappended\sdirectly\sto\sthread-queue,\sthen\sall\syour\stimer-events\s(after\s0)\swill\sbe\sexecuted\shereafter\s(because\sthose\swill\sreach\sthe\sevent-queue\sfirst\safter\ssourcing\svia\ssetupProc/checkProc);\r\n</li><li>asynchronous\ssend\sto\sself\sis\snot\sthe\sprimary\susage\sin\sthread-module,\sso\sI\sdon't\sthink\sthat\s"much\sperformance\sbeing\slost"\shere.</li></ul>\r\n\r\nJust\sas\sloud\sthoughts.
J login sebres
J mimetype text/x-fossil-wiki
K b5709ea9060d17f58ba48110351c964b3408e362
U sebres
Z 397081d8a79bd72ac9635ea67f77c78d