Article View: comp.sys.amiga.tech
Article #13012Locking & forbiding
From: Dave Lowrey
Date: Tue, 06 Jun 1989 17:27
Date: Tue, 06 Jun 1989 17:27
17 lines
1037 bytes
1037 bytes
I am writing a progra that gets the pointer to the current
window from IntuitionBase. It then modifies either the pointer to the
window's title, or the data pointed to by said pointer.
The RKM says to LockIBase() before referencing IntuitionBase. So, that
is no problem. Now, will that also protect me while I mess with the
Title pointer, or should I Forbid() first?
Thanks in advance......
Dave
--
"What is another word | Dave Lowrey | [The opinions expressed MAY be
for 'Thesaurus'?" | Amdahl Corp. | those of the author and are not
| Houston, Texas | necessarily those of his
Steven Wright | amdahl!dwl10 | employer] (`nuff said!)
Technical Details
Message-ID:
<7cBq029532iy01@amdahl.uts.amdahl.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!amdahl!dwl10Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!amdahl!dwl10 From: dwl10@uts.amdahl.com (Dave Lowrey) Newsgroups: comp.sys.amiga.tech Subject: Locking & forbiding Message-ID: <7cBq029532iy01@amdahl.uts.amdahl.com> Date: 6 Jun 89 17:27:27 GMT Organization: Amdahl Corporation, Houston TX Lines: 17