Question

Locked

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.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Hardware Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums