Article View: comp.os.os2.programmer
Article #3495Re: Does OS/2 support Shared Memory?
From: Mike Thompson,332,54714,2734927
Date: Thu, 21 Jan 1993 17:58
Date: Thu, 21 Jan 1993 17:58
22 lines
1473 bytes
1473 bytes
From article <C17Kwo.7E7@techbook.com>, by tonyb@techbook.com (Tony Bennett): > > > 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, the DosAllocShrSeg function under 1.3 does exactly that. There is an equivalent routine in 2.0, but I don't have the call sequence in front of me. Check the manual for the developer's kit under memory management in the CP reference section. Examples are generally good. Drop me e-mail if you still have problems. It might be about time to port some of that old 1.3 code to 2.0 and learn the new call sequences. -- Michael O. Thompson tommy@msc.cornell.edu Cornell University (607) 255-4714 OS/2: For the few, the proud, the devoted!
Technical Details
Message-ID:
<1993Jan21.175825.28938@msc.cornell.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!batcomputer!lynx@msc.cornell.edu!tommyReferences:
<C17Kwo.7E7@techbook.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!batcomputer!lynx@msc.cornell.edu!tommy From: tommy@lynx.msc.cornell.edu.UUCP (Mike Thompson,332,54714,2734927) Subject: Re: Does OS/2 support Shared Memory? Message-ID: <1993Jan21.175825.28938@msc.cornell.edu> Originator: tommy@snoopy.msc.cornell.edu Sender: news@msc.cornell.edu Organization: Cornell-Materials-Science-Center References: <C17Kwo.7E7@techbook.com> Date: Thu, 21 Jan 1993 17:58:25 GMT Lines: 22