🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #13

Re: Q: How do DLLs and threads work in OS/2? (VX-REXX)

#13
From: Charles G Daney
Date: Tue, 24 Oct 1995 22:38
14 lines
1072 bytes

 > well, I have this data that I am trying to move out of VX-REXX, so how
 > else can I do it? Even if I allocate some memory, I'll still have to
 > serialize access, right?
 
It depends how you allocate the memory. If you use malloc, it is private
to each thread. The C library takes care of that. If you use DosAllocMem,
it all depends on whether the pointer is available to more than one
thread. If in fact several threads could access the memory, then you do
need some sort of serialization.
 
Charles
http://www.quercus-sys.com
Technical Details
Message-ID: <46jpt7$r2j@jobe.shell.portal.com>
Path: arc1-ca.pugleaf.net!shell.portal.com!not-for-mail
References: <DGqB16.Gn4@undergrad.math.uwaterloo.ca> <DGrtxo.nyu@undergrad.math.uwaterloo.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!shell.portal.com!not-for-mail
From: cgdaney@shell.portal.com (Charles G Daney)
Newsgroups: comp.os.os2.programmer.misc,comp.lang.rexx
Subject: Re: Q: How do DLLs and threads work in OS/2? (VX-REXX)
Followup-To: comp.lang.rexx
Date: 24 Oct 1995 15:38:31 -0700
Organization: Portal Communications (shell)
Distribution: inet
Message-ID: <46jpt7$r2j@jobe.shell.portal.com>
References: <DGqB16.Gn4@undergrad.math.uwaterloo.ca> <DGrtxo.nyu@undergrad.math.uwaterloo.ca>
NNTP-Posting-Host: jobe.shell.portal.com