home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!news.th-darmstadt.de!iti.informatik.th-darmstadt.de!schrod
- From: schrod@iti.informatik.th-darmstadt.de (Joachim Schrod)
- Newsgroups: comp.lang.c++
- Subject: Re: Looking for a semaphore class specification/implementation
- Message-ID: <1992Sep14.170948.5597@news.th-darmstadt.de>
- Date: 14 Sep 92 17:09:48 GMT
- References: <1992Sep10.172206.20949@cellnet.com>
- Sender: news@news.th-darmstadt.de (The News System)
- Distribution: usa
- Organization: TU Darmstadt
- Lines: 40
- Nntp-Posting-Host: hp11.iti.informatik.th-darmstadt.de
-
- In article <1992Sep10.172206.20949@cellnet.com>, ashok@cellnet.com (Ashok Bakthavathsalam) writes:
- > The subject says it all...
- >
-
- You did not mention your environment. But anyhow, try
-
- ftp.th-darmstadt.de [130.83.55.75]
- directory pub/programming/languages/C++/class-libraries/misc
- file semaphore.tar.Z
-
- I append the README below.
-
- --
- Joachim
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Joachim Schrod Email: schrod@iti.informatik.th-darmstadt.de
- Computer Science Department
- Technical University of Darmstadt, Germany
-
-
- ---------------- included file follows: semaphore.README
- No warranty, No copyright, No price, No nothing!
-
- Semaphore class library - SYSV semapahore class implementation. The race
- ----------------------- conditions has been taken care of by following
- examples from the "UNIX Network programming" by Stevens. Semaphores are
- created by using an unique key. Individual semaphores are referred by
- using square bracket operator as in arrays. Incrementing and decrementing
- semaphores can be done using the operators ++ and --. Please see the example
- in file test.C. You should be able to run it in two different processes.
-
- Developed using SUN-OS 4.1 and AT&T 2.0 c++. May not work as is in other
- platforms.
-
- All comments welcome!! send them to skdutta@cs.tamu.edu
-
-
- Have fun
- skdutta
-