J
JS
I have this struct:
struct pcb {
void *(*start_routine) (void *);
void *arg;
jmp_buf state;
int stak[1024];
};
when I make a call to setjmp somwehere in my code what is it excately that
setjmp store in "state"?
setjmp(state)
I guess its registers and other "invisible" things that I don't explict
write in the code myself.
struct pcb {
void *(*start_routine) (void *);
void *arg;
jmp_buf state;
int stak[1024];
};
when I make a call to setjmp somwehere in my code what is it excately that
setjmp store in "state"?
setjmp(state)
I guess its registers and other "invisible" things that I don't explict
write in the code myself.