Article View: comp.os.os2.programmer
Article #1041process/thread memory
From: stephen dawson
Date: Tue, 18 Aug 1992 01:04
Date: Tue, 18 Aug 1992 01:04
28 lines
1525 bytes
1525 bytes
hartzman@kilroy.Jpl.Nasa.Gov (Les Hartzman) writes
LH>Reading some OS/2 documentation indicates that threads created within a
LH>single process may share that process' memory. What is the process' memory?
LH>Is it the process' global memory (e.g., variables defined outside of 'main'),
LH>or is it an an actual memory object that is owned by the process?
LH>IF it is a memory object that the process creates, how do the threads get
LH>the address of the memory object?
That is up to the programmer.
Any memory that can be accessed by any thread, can be accessed by
all threads. That is what OS/2 allows. It doesn't mean it will be
easy to code this, or that you would want to.
But, be careful about those uninitialized pointers!
STEPHEN Look through the Windows and you will see OS/2!
^^^^^^^ :-) Walking and chewing gum at the same time.
stephen.dawson@canrem.com
Entered 08-17-92 at 5:00pm in Downsview, Ontario
* DeLuxe2/386 1.25 #3969 * Live long and prosper.
--
Canada Remote Systems - Toronto, Ontario/Detroit, MI
World's Largest PCBOARD System - 416-629-7000/629-7044
Technical Details
Message-ID:
<199217.1481.4818@dosgate>Path:
arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!dosgate![stephen.dawson@canrem.com]Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!dosgate![stephen.dawson@canrem.com] From: "stephen dawson" <stephen.dawson@canrem.com> Newsgroups: comp.os.os2.programmer Subject: process/thread memory Message-ID: <199217.1481.4818@dosgate> Date: 17 Aug 92 20:04:32 EST Reply-To: "stephen dawson" <stephen.dawson@canrem.com> Distribution: comp Organization: Canada Remote Systems Lines: 28