Give an implementation of Semaphore for a multiprocessor system using BUSY waiting tha
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Give an implementation of Semaphore for a multiprocessor system using BUSY waiting tha




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Give an implementation of Semaphore for a multiprocessor system using BUSY waiting tha  
pratimaraj@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-05 12:50 PM

Problem: Give an implementation of Semaphore for a multiprocessor
system
using BUSY waiting that can be accessed from the threads of the same
program.
Use this semaphore to write a  program for bounded-buffer problem in
which
there are p producers and q consumers. Each producer or consumer should
be
in infinite loop, and sleeps sifficiently so that it gives a display in
the
terminal which can be viewed properly.


Hint: Use assembly language statement test-and-set or
equivalent instruction using asm staement to realize CS for semaphore.

Need help by tomorrow






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:20 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register