At 03:56 PM 3/28/00 -0500, Mike Marmor wrote:


>Is there anything in Perl that implements something like event flags in VMS?
>
>What I'd like to do is wait for a semaphore to become available, and to be 
>able
>to do this without spinning/checking.

You can use VMS::Lock to do this if you coordinate things--have the program 
being watched aquire the lock, and have the waiting program attempt the 
same thing so it'll block until the lock has been released.

If you're on 7.2 you can also try the VMS::ICC module, though that requires 
some privs and might not be exactly what you want.

                                        Dan

----------------------------------------------------------------------------
Dan Sugalski                          General and VMS-specific perl training
[EMAIL PROTECTED]
                                      Mail me for more details

Reply via email to