[M3devel] processing stack/context
Tony Hosking
hosking at cs.purdue.edu
Thu Dec 3 16:05:33 CET 2009
Actually, in the latest version I explicitly process the signal context as well as the stack.
On 3 Dec 2009, at 06:09, Jay K wrote:
> Tony, it looks like you assume the context passed to a signal handler is on the stack.
> Is that really guaranteed? It couldn't be in some thread local for some reason?
> (signals can nest? Therefore that would be problematic?)
> We can just use the address of a local, right?
>
> And we can assume the signal stack is the regular stack?
> By default?
> (I know sigstack/sigaltstack can fiddle with it; we should assume it isn't used.)
>
> I noticed this in structure ThreadWin32.m3 a bit more like ThreadPosix.m3.
>
> - Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091203/4b0e862b/attachment-0002.html>
More information about the M3devel
mailing list