any help with multiple-processor scheduling simulation?

By confusedfolk ·
There is one Ready-Queue, where the processes are waiting for three CPUs, CPU-1,
CPU-2, and CPU-3. Assume that initially the queue is empty, and all CPUs are waiting
for the processes. Let the queue be large enough for all the processes.
2) Each CPU is waiting for processes arriving in the queue. The arrival of a process (to the
queue) should interrupt any of the waiting CPUs, which will grab the process, and
execute it. Use pthread_cond_wait( ) and pthread_cond_signal( ) functions to simulate
this step.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums