[M3devel] processing stack/context

Jay K jay.krell at cornell.edu
Thu Dec 3 12:09:53 CET 2009


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/81033e08/attachment-0001.html>


More information about the M3devel mailing list