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