Hi folks,

        I have a little script that uses the perl SGI::FAM module to 
monitor a few files.  It works fine under either fam or gamin, but 
with gamin there's one peculiarity.  

        The script has a signal handler that traps SIGUSR1.  When I
use the script on a computer with fam installed, and send the script
a USR1 signal, the signal handler is immediately called.  But when
I do the same thing on a machine with gamin, the signal handler isn't
called until the next fam event.  (I should say that the script is
basically just a loop that blocks on a $fam->next_event.)

        Any idea why this happens?

                                                Thanks,
                                                Bryan

-- 
===============================================================================
Bryan Wright                |"If you take cranberries and stew them like 
Physics Department          | applesauce, they taste much more like prunes 
University of Virginia      | than rhubarb does."  --  Groucho 
Charlottesville, VA  22901  |                   
(434) 924-7218              |         [EMAIL PROTECTED]
===============================================================================


_______________________________________________
Gamin-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gamin-list

Reply via email to