well, I have a main thread with QApplication exec()-ing and then I start a secondary QThread. There something very bad might happen (for example attempt to read data of another process, which isn't catched even with catch(...)). Are there any means to make OS terminate not the whole process, but only the secondary thread and send appropriate signal to the main thread? I'd be happy for WinXP/Vista and Linux solution, but cross-platform (as Qt itself) solution would be ideal. Thanks in advance!