digitalmars.D.learn - Starting and managing threads
- Vino (9/18) Mar 24 2023 Hi Bagomot,
https://forum.dlang.org/post/eeqqmlojlniiihgybqpf forum.dlang.org On Sunday, 16 January 2022 at 09:38:52 UTC, Bagomot wrote:Hi Bagomot, Did you get this working, if yes can you please share the code, and more over if we use libasync it monitors all the events(create/delete/modify), I need only to monitor the "modify" event. From, Vino.BThe program does nothing probably because of that continue. (?)No, it does work inside the loop.So, the event loop is in a separate thread. What should happen when the events trigger? Do you want this thread to handle the events or should this thread send a > message to the main thread (or perhaps a separate thread that responds to these > events).I want the events to be handled on the same thread (not on the main).
Mar 24 2023