c - Executing a Stopped Process in XV6 -


i wrote 2 new system calls , add them xv6 os kernel. using 1 system call can save process state , using other 1 can reload previous state , continue. problem in reloading section.


is enough reload context of process ? (i mean struct context contains cpu register)

no.

the process may have open files , pipes in proc->ofile, need save/load.

note time re-load process, parent may no longer exist.
you'll want make sure process isn't floating around without real parent, or you'll in fun bugs.


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -