At 04:44 PM 3/28/00 -0500, Carl Friedberg wrote:
>Doorbell locks are one of the neatest things brought to us in vms 4.0! I
>believe they've worked properly since then. The idea is to take out an
>exclusive lock on a resource, and when you get the blocking notification,
>let go of it. Something like that. The notification is an AST, and lets you
>know who's asking for the lock (IIRC).
>
>My dear departed friend Alan Barr wrote a really neat series of fortran
>tools which implemented this in a quite nice way; I've used these tools a
>few times. I've never tried VMS::lock, however.

Won't work with VMS::Lock. You need to use $ENQ and have an AST waiting 
around. VMS::Lock, alas, is $ENQW and synchronous all the way, courtesy of 
perl's Unix limitations.

Maybe for perl 5.8. (Or 5.6.2... :)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to