lkml.org 
[lkml]   [1996]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SA_STACK
Date
> 
> Isn't there a group working on real-time signals? Hopefully, alternative
> stacks (and SA_SIGINFO (sp?)) will come out of this work.
>
> > -Melvin
>
> markhe

Well I started hacking at it and I've sent some diffs to Linus
which are wrong but they are no worse than the code that was there.
Basically the problem I'm having is not implementing sigstack() or
sigaltstack() structs or calls but how to handle things like a
longjmp() out of a signal handler which is currently on an alt stack,
or a calling a signal handler from a signal handler. This could
be an easy fix if I had a stack_size field. With sigstack() that is
not possible since the stack is malloced but the struct doesn't
contain the size. sigaltstack{} however requires a ss_ssize(sp) field.

Maybe it would be better to forget the BSD style sigstack() and go
with the SYSV sigaltstack() ?

-Melvin


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.068 / U:3.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site