This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: get/set/swapcontext + linuxthreads/glibc + MTasker


> Don't use sigaltstack in multi-threaded programs.  Just think a second
> about the desasters which would happen if two signals arrive at the same
> time and are handled by different threads.

You can use sigaltstack for each thread with N separate signal stacks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]