LOCKNEW question.
![Phil Pilgrim (PhiPi)](https://forums.parallax.com/uploads/userpics/612/nMG83RHE7MV61.gif)
When a lock is first handed out using locknew, is it issued locked, unlocked, or unspecified? I've tried to find this in the docs, but don't see it anywhere. Obviously, in a well-behaved system, it doesn't matter, since nobody else will be trying to access a newly issued lock until they're given the lock number and permission to use it. Until that happens, the requesting program can set it or reset it as required. But it would be interesting to know if it's necessary to unlock a new lock, if you want it unlocked, or to lock it, if you want it locked.
Thanks,
Phil
Thanks,
Phil
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Post Edited (Chip Gracey) : 3/27/2006 7:05:10 AM GMT