Re: [racket-users] Re: Is there an easy way to daemonize a thread?

2020-05-21 Thread Greg Hendershott
Maybe I need more coffee, but a possible heads-up: The current implementation doesn't seem to match the documentation -- wouldn't the with-handlers need to move inside the loop, for it to be infinite? https://github.com/Kalimehtar/thread-utils/blob/master/main.rkt#L35-L41 On Tuesday, May 19,

Re: [racket-users] Re: Is there an easy way to daemonize a thread?

2020-05-19 Thread David Storrs
Perfect, thank you. On Tue, May 19, 2020 at 5:28 PM George Neuner wrote: > On Tue, 19 May 2020 12:01:54 -0400, David Storrs > wrote: > > >I'm using the file-watchers module to keep an eye on a directory tree and > >trigger various actions whenever something changes. I had an issue where > >an

[racket-users] Re: Is there an easy way to daemonize a thread?

2020-05-19 Thread George Neuner
On Tue, 19 May 2020 12:01:54 -0400, David Storrs wrote: >I'm using the file-watchers module to keep an eye on a directory tree and >trigger various actions whenever something changes. I had an issue where >an exception was thrown, the thread died, and file watching therefore >stopped. The