A small doubt regarding the context related functions..
I did a makecontext to create a new thread. ( C program)
But in order to execute it,I need to know the main parent thread so that I can swap both.
How do i know the parent thread..?
i want to use swapcontext(<----> , &child thread);
what do i fill in here in order to swap context with parent thread ?