Hi I'm need to jump from a place to another...
But I would like to know which is better to use, setjmp or ucontext, things like:
- Are setjmp and ucontext portable?
- My code is thread safe using these library?
- Why use one instead another?
- Which is fast and secure?
- ...(Someone please, can answer future question that I forgot to put here?)
Please give a little more information that I'm asking for, like examples or some docs...
I had searching on the web, but I only got exception handling in C like example of setjmp, and I got nothing about ucontex.h, I got that it was used for multitask, what's the difference of it and pthread?
Thanks a lot.