[Mono-list] Re: From a signal to a ThreadAbort
bbjamey at gmail.com
Sun May 7 10:41:59 EDT 2006
Thanks - that will work fine.
On 5/7/06, Robert Jordan <robertj at gmx.net> wrote:
> Barry James wrote:
> > What's the recommended way to get a Unix signal to trigger a ThreadAbort
> > in a particular thread? The documentation says only variables can be
> > during the execution of a signal handler. Is a call to Thread.Abortsafe?
> It's not safe. Set up a thread that polls the variable every x msecs
> and react upon the variable's value. Assure, that the signal handler's
> method is already JITed (simply call it once) before it gets invoked
> as a true signal handler.
> Here is a good sample:
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list