[Interest] Connecting signal handler to Qt application - async-handler-safety

Bernhard Lindner private at bernhard-lindner.de
Mon Jun 15 12:58:12 CEST 2020


Hi!

I wrote a logging application containing a signal handler that is registered using
std::signal(). The handler receives signals like SIGFPE, SIGSEGV, etc.

Now I would like to connect that handler to some Qt based logging code.
Unfortunately I could not find a portable solution to do that.

Are there any functions in Qt that are considered async-handler-safe? 

I'm especially looking for a way to send a (queued) signal. Other portable ways to wake
the application from the event loop would be fine as well.

-- 
Best Regards,
Bernhard Lindner



More information about the Interest mailing list