Setcontext
setcontext is one of a family of C library functions (the others being getcontext, makecontext and swapcontext) used for context control. The setcontext family allows the implementation in C of advanced control flow patterns such as iterators, fibers, and coroutines. They may be viewed as an advanced version of setjmp/longjmp; whereas the latter allows only a single non-local jump up the stack, setcontext allows the creation of multiple cooperative threads of control, each with its own stack.
Wikipage redirect
primaryTopic
Setcontext
setcontext is one of a family of C library functions (the others being getcontext, makecontext and swapcontext) used for context control. The setcontext family allows the implementation in C of advanced control flow patterns such as iterators, fibers, and coroutines. They may be viewed as an advanced version of setjmp/longjmp; whereas the latter allows only a single non-local jump up the stack, setcontext allows the creation of multiple cooperative threads of control, each with its own stack.
has abstract
setcontext is one of a family ...... trol, each with its own stack.
@en
setcontext — одна из библиотеч ...... вления с собственными стеками.
@ru
Link from a Wikipage to an external page
Wikipage page ID
Wikipage revision ID
731,053,629
comment
setcontext is one of a family ...... trol, each with its own stack.
@en
setcontext — одна из библиотеч ...... вления с собственными стеками.
@ru
label
Setcontext
@en
Setcontext
@ru