[Unison-hackers] unison and inotify principle

Benjamin Pierce bcpierce at cis.upenn.edu
Thu Jun 5 08:41:26 EDT 2008


> Forget to say: you can use "Unix.select" or similar polling  
> function to
> check if there are data to be readi/write (not very portable  
> though, but
> better than nothing).
>
> Unix.select will work on Mac and Linux. It will work on Windows with
> OCaml 3.11

That's useful information and it may make indeed make the Unison side  
easier to implement in terms of pipes.  (Actually, your design and  
mine are not so very far apart, I think -- using files vs. pipes  
[with enough buffering] should amount to much the same thing in the  
end.)

    - Benjamin




More information about the Unison-hackers mailing list