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.

Soluciones para núcleo expulsivo• Basada en impedir cambio <strong>de</strong> contexto invol<strong>un</strong>tario:crear_<strong>proceso</strong>(...) {nivel_ant=fijar_nivel_int(NIVEL_INT_SW_PLANIFICACION);pos=BuscarBCPLibre();tabla_<strong>proceso</strong>s[pos].libre = false;fijar_nivel_int(nivel_ant); }• Basada en semáforos (si sección crítica larga y/o con bloqueo):crear_<strong>proceso</strong>(...) {bajar(semaforo_tabla_<strong>proceso</strong>s);pos=BuscarBCPLibre();tabla_<strong>proceso</strong>s[pos].libre = false;subir(semaforo_tabla_<strong>proceso</strong>s); }Diseño <strong>de</strong> Sistemas Operativos 108 Fernando Pérez Costoya (2008)

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

Saved successfully!

Ooh no, something went wrong!