13.07.2015 Views

de un proceso

de un proceso

de un proceso

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Colas <strong>de</strong> <strong>proceso</strong>s• SO enlaza BCPs en colas (BCP contiene p<strong>un</strong>teros para ello)– Procesos en el mismo estado• Cola <strong>de</strong> <strong>proceso</strong>s listos– en muchos sistemas, <strong>proceso</strong> en ejecución también está en ella• Cola <strong>de</strong> <strong>proceso</strong>s bloqueados. Alternativas <strong>de</strong> diseño:– Una para todos los bloqueados: Ineficiente– Una por evento: gasto <strong>de</strong> memoria tolerable– Varios eventos por cola• Si <strong>proceso</strong> en 1 cola en cada instante: basta con p<strong>un</strong>tero en BCP• En Linux, colas <strong>de</strong> bloqueados: wait queues– No usan p<strong>un</strong>tero <strong>de</strong>l BCP, incluyen el p<strong>un</strong>tero al siguiente• Cambio <strong>de</strong> estado implica pasar el BCP <strong>de</strong> <strong>un</strong>a cola a otraDiseño <strong>de</strong> Sistemas Operativos 64 Fernando Pérez Costoya (2008)

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

Saved successfully!

Ooh no, something went wrong!