home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / programm / 3332 < prev    next >
Encoding:
Text File  |  1992-12-20  |  1.3 KB  |  28 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!haven.umd.edu!news.umbc.edu!umbc8.umbc.edu!reagle
  3. From: reagle@umbc8.umbc.edu (Mr. Joseph Reagle; MEYERHOFF (U))
  4. Subject: Semaphores, Swap, or Test_And_Set
  5. Message-ID: <1992Dec18.045022.15255@umbc3.umbc.edu>
  6. Sender: newspost@umbc3.umbc.edu (News posting account)
  7. Organization: University of Maryland, Baltimore County Campus
  8. Date: Fri, 18 Dec 1992 04:50:22 GMT
  9. Lines: 17
  10.  
  11.  
  12.     I've learned some interesting CST solutions in my OS class
  13. recently and was thinking of trying to implement some concurrent
  14. processes with access to a shared variable or CST.  Of course, access to this
  15. variable must be atomic.
  16.     What hardware devices are supplied on MS-DOS(none?) or various
  17. Unix machines to allow this?  Do any languages such as C or C++
  18. provide (I guess concurent pascal does) provide mechanisms for the
  19. protection of a shared variables, or CST?
  20.     Do I have to depend on the OS, and make a shell script to
  21. execute things correctly, or do languages allow me to do it within
  22. themselves.  (I would assume these would be non-standard additions
  23. to the compiler--TC has a _fun lock()_ on files.  Are considerations
  24. being made for languages to have CST solutions implemented as standard
  25. features if they don't exist now?  Especially semaphores?)
  26.     Curiously awaiting a reply!
  27.                     Joe
  28.