Thiago Macieira wrote:

> You can call _exit. You can't call much else. You can only call the functions
> listed in this man page from a signal handler:
> http://man7.org/linux/man-pages/man7/signal-safety.7.html
> 
> NEVER allocate memory and NEVER lock a mutex in a signal handler.

So you are basically saying that KDevelop is doing it all wrong and that it's 
purely by chance that this works (when the X server is responsive)? 

https://github.com/KDE/kdevelop/blob/master/kdevplatform/shell/core.cpp#L54

(not looking to point fingers, just to know if there's room for improvement)

R.

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to