de un proceso
de un proceso
de un proceso
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
F<strong>un</strong>ción <strong>de</strong> bloqueo• F<strong>un</strong>ción que encapsula el C.C.V.– No <strong>de</strong>be invocarse <strong>de</strong>s<strong>de</strong> rutina <strong>de</strong> interrupción– Proceso actual no está relacionado con la interrupción• Prohibir int.: rutinas <strong>de</strong> int. también manipulan lista <strong>de</strong> listosBloquear (cola <strong>de</strong> bloqueo) {p_proc_actual->estado=BLOQUEADO;Prohibir interrupciones;Mover BCP <strong>de</strong> <strong>proceso</strong> actual a cola <strong>de</strong> bloqueo;cambio <strong>de</strong> contexto a <strong>proceso</strong> elegido por planificador;Restaurar estado <strong>de</strong> interrupciones previo;}Diseño <strong>de</strong> Sistemas Operativos 71 Fernando Pérez Costoya (2008)