13.07.2015 Views

de un proceso

de un proceso

de un proceso

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creación <strong>de</strong> <strong>proceso</strong>s en UNIX• Operaciones en FORK– Reserva BCP– Copiar BCP <strong>de</strong>l padre– Duplicar mapa <strong>de</strong> memoria <strong>de</strong>l padre– Estado = LISTO + Incluir BCP en cola <strong>de</strong> listos• Operaciones en EXEC– Leer fichero ejecutable– Liberar mapa <strong>de</strong> memoria <strong>de</strong>l <strong>proceso</strong>– Crear nuevo mapa <strong>de</strong> memoria a partir <strong>de</strong>l ejecutable– Crear pila inicial <strong>de</strong> usuario con el entorno y args. <strong>de</strong>l <strong>proceso</strong>– Modificar alg<strong>un</strong>os campos <strong>de</strong>l BCP (p.e. señales capturadas)– Modifica pila <strong>de</strong> sistema para retornar a dir. <strong>de</strong> inicio <strong>de</strong>l programaDiseño <strong>de</strong> Sistemas Operativos 84 Fernando Pérez Costoya (2008)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!