SimGrid  3.14.159
Versatile Simulation of Distributed Systems
Portable context implementation

Contexts are a higher level system than setjump/longjmp for non-preemptible threads.

You shouldn't use it directly since it is merely intended to ease the implementation of the several programmation environment of the SimGrid toolkit (namely, MSG: Simulate CSP Algorithms and SMPI: Simulate real MPI applications).

You should use those environments instead.