🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20356

Re: Re: When to HLock

#20356
From: <10000>Bob Lemley
Date: Wed, 14 Oct 1987 22:40
11 lines
980 bytes
> In article <2961@husc6.UUCP>, fry@huma1.HARVARD.EDU (David Fry) writes:
>> In article <960@mntgfx.MENTOR.COM> tomc@mntgfx.MENTOR.COM (Tom Carstensen) writes:
> >Question: Do you need to HLock in the following
	[ excess removed ]
> MoveHHi(TheText);
> HLock(TheText);
> myWindow = NewWindow( , ,...,(**TheText).nLines );
> HUnlock(TheText);

HLock is not required here because the dereferencing is done BEFORE
the JSR to NewWindow.
Technical Details
Message-ID: <332@lznh.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!necntc!ames!lll-tis!lll-lcc!ptsfa!ihnp4!homxb!mtuxo!mtune!lzaz!lznh!bob
References: <960@mntgfx.MENTOR.COM> <2961@husc6.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!necntc!ames!lll-tis!lll-lcc!ptsfa!ihnp4!homxb!mtuxo!mtune!lzaz!lznh!bob
From: bob@lznh.UUCP (<10000>Bob Lemley)
Newsgroups: comp.sys.mac
Subject: Re: Re: When to HLock
Message-ID: <332@lznh.UUCP>
Date: Wed, 14-Oct-87 18:40:19 EDT
Article-I.D.: lznh.332
Posted: Wed Oct 14 18:40:19 1987
Date-Received: Sat, 17-Oct-87 05:33:45 EDT
References: <960@mntgfx.MENTOR.COM> <2961@husc6.UUCP>
Organization: AT&T
Lines: 11
Summary: Not actually.