Re: TclX on Windows - anybody successfully trap SIGTERM / SIGKILL
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: TclX on Windows - anybody successfully trap SIGTERM / SIGKILL

From: Uwe Klein <uwe_klein_habertwedt@t-online.de>
Date: Fri Dec 30 2005 - 09:32:30 CET

David Gravereaux wrote:
> Roy,
>
> I was thinking about this some more and I don't think this signal
> stuff should be in tclsh at all.
>
> It should be in an extension or something.
modularisation is allways OK
>
> Here's why I think this.. To properly "trap" a signal I need to
> assume the event loop is running. I think that's a bad asumption to
> make for everyone by placing this code in the shell itself.

but where is the difference to things like fileevent?

uwe
Received on Tue Jan 3 03:09:45 2006