.
D 2013-03-24T16:15:27
J assignee kennykb
J cmimetype text/plain
J comment My\sC\slibrary\sposts\san\sevent\svia\sTcl_QueueEvent\swhen\sthe\sapp\sreceives\sa\ssignal\s(like\sSIGHUP).\sWhen\susing\sthe\slibrary\swith\sa\snon-threaded\stclsh,\sthe\sevent\sis\spicked\sup\sby\sthe\sevent\sloop\sand\sprocessed\salmost\simmediately.\sHowever,\swith\sa\sthreaded\stclsh\snothing\shappens\suntil\ssome\sother\sevent\soccurs.\sAt\sthat\stime\sthe\squeued\sevents\sand\sthe\sother\sevent\sare\sall\sprocessed.\sIs\sthis\sthe\sintended\sbehavior?\n\nIssue\sfound\son\sOpenSUSE\s12.3\s(linux\s3.7.10)\s64-bit.\n\nI\shave\sattached\sthe\sstripped\sdown\ssources\sfor\sa\slibrary\sthat\sreproduces\sthe\sproblem.\sRun\sthe\sscript\sand\ssend\sa\sSIGHUP\sto\sthe\sprocess.\sObserve\sthat\swith\sa\snon-threaded\stclsh\sthe\sscript\sreports\s"signal"\simmediately.\sWith\sa\sthreaded\stclsh\sthe\s"signal"\sreport\scomes\sout\sjust\sbefore\sthe\s"Boo!".\n
J foundin current:\s8.6.0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter sbron
J subsystem 01.\sNotifier
J title Events\sposted\sby\sTcl_QueueEvent\slinger\sin\squeue
J type Bug
K 3608957fffffffffffffffffffffffffffffffff
U sbron
Z 96f3f5852ddbe8e0b6396ab18571ed6b