[futurebasic] LOCK Handles (When?)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1998 : Group Archive : Group : All Groups

From: tedd@...
Date: Wed, 28 Oct 1998 12:37:10 -0500
>>Now, if anyone see's a problem with this, please post it!
>>
>
>Yeah, you better be locking that handle before reading/writing it!
>
>OsErr% = FN HLOCK(thehandle&)
>'modify
>OsErr% = FN HUNLOCK(thehandle&)
>
>
>
>~ I heart Apple ~
>
>-- TJ Grant (tatewake@...)

TJ:

Thank you. The code that I wrote "online" was ctaken from memory. I
neglected to include any lock-downs. Which brings me to a point that I'm
not certain about -- and has been discussed before -- which is -- When does
one lock down handles?

Any one got a _simple_ "rule of thumb" as to when to lock handles?

tedd


___________________________________________________________________
<mailto:tedd@...>	               http://sperling.com/