Re: [gamin] Signal handling in gamin vs. fam
- From: Daniel Veillard <veillard redhat com>
- To: bkw1a virginia edu
- Cc: gamin-list gnome org, bryan ayesha phys Virginia EDU
- Subject: Re: [gamin] Signal handling in gamin vs. fam
- Date: Thu, 28 Apr 2005 16:04:45 -0400
On Thu, Apr 28, 2005 at 01:37:23PM -0400, Bryan K. Wright wrote:
> 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?
same with Ctrl-C handling at the shell, yes this is a small problem
in the internal way exceptions are handled.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]