You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many missing pieces in pthreads/setjmp.c to give at least a bit of insight on how to continue.
https://github.com/uniquejainakshay/mythread seems like a nice ground for inspiration and also lists potential problems (SIGALRM override, blocking syscalls). I am not saying that we should implement something like that but maybe we can at least add some function calls and a timer to the example to demonstrate the switching between 2 long running functions (without syscalls).
The text was updated successfully, but these errors were encountered:
There are many missing pieces in
pthreads/setjmp.c
to give at least a bit of insight on how to continue.https://github.com/uniquejainakshay/mythread seems like a nice ground for inspiration and also lists potential problems (
SIGALRM
override, blocking syscalls). I am not saying that we should implement something like that but maybe we can at least add some function calls and a timer to the example to demonstrate the switching between 2 long running functions (without syscalls).The text was updated successfully, but these errors were encountered: