🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3496

Re: Does OS/2 support Shared Memory?

#3496
From: KUMARADAS JOSEPH CARL
Date: Thu, 21 Jan 1993 18:26
17 lines
1045 bytes
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.
Technical Details
Message-ID: <C17v8w.8EL@ecf.toronto.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!skule.ecf!kumarad
References: <C17Kwo.7E7@techbook.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!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