I asked a question about multithreading here a while ago but didn't get any answers so I will delete it and rephrase it here.
Is there any sort of functionality in a C or C++ (I am by no means implying that they are the same language) library that can be used to imitate switching contexts like you can using the python greenlets?
Anything that is not deprecated would be greatly appreciated!
Thank you!