home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!cs.utexas.edu!torn!skule.ecf!kumarad
- From: kumarad@ecf.toronto.edu (KUMARADAS JOSEPH CARL)
- Subject: Re: Does OS/2 support Shared Memory?
- Message-ID: <C17v8w.8EL@ecf.toronto.edu>
- Organization: University of Toronto, Engineering Computing Facility
- References: <C17Kwo.7E7@techbook.com>
- Date: Thu, 21 Jan 1993 18:26:53 GMT
- Lines: 17
-
- In article <C17Kwo.7E7@techbook.com> tonyb@techbook.com (Tony Bennett) writes:
- >
- >
- >If this is in the FAQ, I'm sorry.
- >Unix has the concept of shared memory, that is multiple programs accessing a
- >common area of memory. Does OS/2 support that concept and if so what functions
- >are used... a little snippet of code using those functions would be
- >very helpfull.
- >Thanks in Advance.
- >--
-
- Yes, it supports shared memory. There is supprt for both "named" and
- "give-get" shared memory. Take a look at the following API's:
- DosAllocSharedMem(), DosGetNamedSharedMem(), DosGiveSharedMem(),
- DosGetSharedMem() and DosFreeMem().
-
- Carl.
-