Hi David,

On Tue, Jan 24, 2017 at 6:52 PM, David Storrs <david.sto...@gmail.com>
wrote:

> [snip]
>
> - When I create the 'monitor this' event, I will need to wrap the sync in
>> a thread since (sync) is synchronous.
>
>
>
> If I understand you correctly, you're considering creating a separate
thread for each directory that you monitor. You could do that, but I'd
suggest this instead:
- build a list of `filesystem-change-evt`s
- create a single thread, and in it monitor all of them at once with
`(apply sync list-of-evts)`

- Jon

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to