home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13620 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.9 KB

  1. 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
  2. From: schrod@iti.informatik.th-darmstadt.de (Joachim Schrod)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Looking for a semaphore class specification/implementation
  5. Message-ID: <1992Sep14.170948.5597@news.th-darmstadt.de>
  6. Date: 14 Sep 92 17:09:48 GMT
  7. References: <1992Sep10.172206.20949@cellnet.com>
  8. Sender: news@news.th-darmstadt.de (The News System)
  9. Distribution: usa
  10. Organization: TU Darmstadt
  11. Lines: 40
  12. Nntp-Posting-Host: hp11.iti.informatik.th-darmstadt.de
  13.  
  14. In article <1992Sep10.172206.20949@cellnet.com>, ashok@cellnet.com (Ashok Bakthavathsalam) writes:
  15. > The subject says it all...
  16.  
  17. You did not mention your environment. But anyhow, try
  18.  
  19.     ftp.th-darmstadt.de [130.83.55.75]
  20.     directory pub/programming/languages/C++/class-libraries/misc
  21.     file semaphore.tar.Z
  22.  
  23. I append the README below.
  24.  
  25. --
  26. Joachim
  27.  
  28. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  29. Joachim Schrod            Email: schrod@iti.informatik.th-darmstadt.de
  30. Computer Science Department
  31. Technical University of Darmstadt, Germany
  32.  
  33.  
  34. ---------------- included file follows: semaphore.README
  35. No warranty, No copyright, No price, No nothing!
  36.  
  37. Semaphore class library - SYSV semapahore class implementation. The race
  38. -----------------------   conditions has been taken care of by following
  39. examples from the "UNIX Network programming" by Stevens. Semaphores are
  40. created by using an unique key. Individual semaphores are referred by
  41. using square bracket operator as in arrays. Incrementing and decrementing 
  42. semaphores can be done using the operators ++ and --. Please see the example
  43. in file test.C. You should be able to run it in two different processes.
  44.  
  45. Developed using SUN-OS 4.1 and AT&T 2.0 c++. May not work as is in other
  46. platforms.
  47.  
  48. All comments welcome!! send them to skdutta@cs.tamu.edu
  49.  
  50.  
  51. Have fun
  52. skdutta
  53.