Switching to an other stack with POSIX/QNX?

Hello!

I’m using POSIX/QNX.

I know that you can provide a thread with an execution stack at creation
time.
I would like to know if this is possible for a thread to dynamically switch
to an other stack.

Thanks

Vincent

Previously, Vincent wrote in comp.os.qnx, comp.programming.threads, comp.unix.programmer:

I’m using POSIX/QNX.

I know that you can provide a thread with an execution stack at creation
time.
I would like to know if this is possible for a thread to dynamically switch
to an other stack.

A reasonable question might be why you would want to do this. Did you want
to switch back and forth between threads? If not, a simple but probably
un-useful answer would be to create a new thread and then exit. The
new thread will have an identical environment as the first except it will
have a new stack.





Mitchell Schoenbrun --------- maschoen@pobox.com