flightaware / Tcl-bounties

Bounty program for improvements to Tcl and certain Tcl packages
104 stars 8 forks source link

Make TclX's signal trap handlers safe to use with threaded Tcl #20

Open tcpeas opened 7 years ago

tcpeas commented 7 years ago

I think I have a straightforward solution to the problem described, at https://core.tcl.tk/tcl/tktview/f4f44174 . If you have a better test case, please attach it to that ticket.

I'm working on a more ambitious project to teach the core about proper signal handling (and eventually SIGCHLD), but this will mess with Tclx and probably require a TIP + waiting for Tcl9. I'll keep you informed as that becomes more concrete, as supporting your use-case is a relevant concern.

lehenbauer commented 7 years ago

OK, looking forward to it.

resuna commented 7 years ago

Do you have any further updates, or is the thread on https://core.tcl.tk/tcl/tktview/f4f44174 (updated January) the latest?