changed the process list of a semaphore to a doubly linked list

This commit is contained in:
hyunghwan.chung
2016-02-29 17:26:40 +00:00
parent 55a43371d5
commit b3b9af86fd
5 changed files with 96 additions and 69 deletions

View File

@ -28,7 +28,7 @@
#class(#pointer) Process(Object)
{
#dcl initial_context current_context state prev next sp sem_next.
#dcl initial_context current_context state sp prev next sem.
#method new
{
@ -106,7 +106,7 @@
#class ProcessScheduler(Object)
{
#dcl tally active runnable.
#dcl tally active runnable_head runnable_tail.
#method new
{