[Qt-interest] SOLVED : bash jobcontrol breaks QT4 and inotify ?
Thiago Macieira
thiago at kde.org
Wed Aug 18 17:52:23 CEST 2010
On Tuesday 17 August 2010 11:38:14 David Heremans wrote:
> >> 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.
Where was the necessary fix?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100818/f1e7eae7/attachment.bin
More information about the Qt-interest-old
mailing list