File:  [WindowsNT SDKs] / q_a / samples / bndbuf / readme.txt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:42 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

Sample: Distributed Bounded Buffer Solution (DBBS)



Summary:

The DBBS sample demonstrates the distributed version of the classical
Operating Systems producer-consumer problem. A centralized buffer
pool managed by the RPC server is used by the producers and consumers.
Counting semaphores are used to make sure that comsumptions take place
when there is at least one unconsumed string in the buffer pool and
productions take place when there is at least one empty slot in the
buffer pool. Synchronization to the shared buffer pool is coordinated
by means of a mutex.



More Information:

To use this program, the RPC locator service must be first started
using the following command line:

start locator /noservice

Next, start the application server by typing:

start bndbufs

Multiple clients could then be started by typing:

start bndbufc

for each client to be started.

The application uses while loops to run forever. Therefore, you need
to use ctrl-C to terminate each component.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.