Slava,

Here's a simple word which uses monitors:

:: show-dir-changes ( PATH -- )

     [
       [let | MONITOR [ PATH t <monitor> ] |

         [ MONITOR next-change drop . t ] loop ]

     ]

   with-monitors ;

If I open three ui listener windows and in each one do:

     home show-dir-changes

they don't all report the same changes. Sometimes one shows changes, 
sometimes two, but rarely do all three report the same changes.

I tried using three listener windows in the same Factor process as well 
as three separate processes; the problem happens in both cases.

This is on Linux 32-bit.

Ed

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to