Infinite loop with stat watcher and inotify

Graham Leggett minfrin at sharp.fm
Wed Dec 10 13:35:07 CET 2008


Graham Leggett wrote:

> I have been testing my libev application under RHEL5 instead of MacOSX, 
> and I have discovered an infinite loop that develops within libev that 
> causes the app to hang (and spin).
> 
> During the spin, the program flow looks like below.

A further clue - the spin seems to be triggered if two stat watchers 
exist watching the same file. With just one stat watcher running, it 
seems to work fine.

Regards,
Graham
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20081210/57e78b69/attachment.bin>


More information about the libev mailing list