[Qt-interest] SOLVED : bash jobcontrol breaks QT4 and inotify ?
David Heremans
david.heremans at intersoft-electronics.com
Tue Aug 17 11:38:14 CEST 2010
>> So it seems that trying to trace/debug the program will also cause it
>> to break...
>>
>> Can anybody tell me wat is going on here? Or provide some pointers as
>> where to go from here on so that I understand what is going on..
>
> When a thread is interrupted by a signal while in a syscall (in this
> case read(2), inotify.cc line 86), the syscall returns -1 and sets
> errno to EINTR.
>
> Currently the inotify thread exits on every error. It should test for
> EINTR and restart the loop in that case.
I now implemented this check for EINTR and finally it now works as I
expected it to do.
Thanks to all for helping me out.
rgds
David H
More information about the Qt-interest-old
mailing list