home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4282 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.5 KB

  1. Path: sparky!uunet!uunet.ca!canrem!dosgate![stephen.dawson@canrem.com]
  2. From: "stephen dawson" <stephen.dawson@canrem.com>
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: process/thread memory
  5. Message-ID: <199217.1481.4818@dosgate>
  6. Date: 17 Aug 92 20:04:32 EST
  7. Reply-To: "stephen dawson" <stephen.dawson@canrem.com>
  8. Distribution: comp
  9. Organization: Canada Remote Systems
  10. Lines: 28
  11.  
  12. hartzman@kilroy.Jpl.Nasa.Gov (Les Hartzman)  writes
  13.  
  14. LH>Reading some OS/2 documentation indicates that threads created within a
  15. LH>single process may share that process' memory.  What is the process' memory?
  16. LH>Is it the process' global memory (e.g., variables defined outside of 'main'),
  17. LH>or is it an an actual memory object that is owned by the process?
  18.  
  19. LH>IF it is a memory object that the process creates, how do the threads get
  20. LH>the address of the memory object?
  21.  
  22. That is up to the programmer.
  23.  
  24. Any memory that can be accessed by any thread, can be accessed by
  25. all threads. That is what OS/2 allows. It doesn't mean it will be
  26. easy to code this, or that you would want to.
  27.  
  28. But, be careful about those uninitialized pointers!
  29.  
  30.     STEPHEN         Look through the Windows and you will see OS/2!
  31.     ^^^^^^^    :-)  Walking and chewing gum at the same time.
  32.  
  33.  stephen.dawson@canrem.com
  34.  Entered 08-17-92 at 5:00pm in Downsview, Ontario
  35.  
  36.  * DeLuxe2/386 1.25 #3969 * Live long and prosper.
  37. --
  38. Canada Remote Systems  - Toronto, Ontario/Detroit, MI
  39. World's Largest PCBOARD System - 416-629-7000/629-7044
  40.