service icon indicating copy to clipboard operation
service copied to clipboard

Threading, signals and asyncio

Open fitzterra opened this issue 2 years ago • 0 comments

I want to use this package for running a daemon that uses asyncio, but due to the daemon being spawned in a thread, this is not possible. What was the reason for using a thread for the main daemon process? Since the underlying python-daemon does not use threads, I think it would be possible to make some slight changes around signal handling and then not use threads. Before I go down this route thought, and only later find out that I'm loosing some other functionality, I thought I'd ask first.

fitzterra avatar Aug 14 '23 05:08 fitzterra