[Qt-interest] bash jobcontrol breaks QT4 and inotify ?

Arnold Krille arnold at arnoldarts.de
Tue Aug 17 10:26:52 CEST 2010


On Tuesday 17 August 2010 10:22:07 Andreas Pakulat wrote:
> > I'm still puzzled by this program going hay-wire after a 'Ctrl+Z;fg'
> > I found out the following extra info. I monitored the program with htop
> > so that I could se the threads and when I launch the program I get
> > 7577 david      20 0 249M 21456 1584 S 0.0 0.4 0:00.10 ./inotify_demo
> > 7578 david      20 0 249M 21456 1584 S 0.0 0.4 0:00.00 ./inotify_demo
> > 7579 david      20 0 249M 21456 1584 S 0.0 0.4 0:00.00 ./inotify_demo
> > 
> > which should be the main process and two threads
> 
> No, these are 3 separate instances of the same app. You cannot see the
> threads inside the process using htop.

Yes you can! Just take a look at the settings of htop. You can hide user and 
kernel threads or show them. You can even show them in a different color then 
the main process.
It doesn't yet show the thread-names you can use in newer glib but that is 
probably a matter of time...

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100817/17f240af/attachment.bin 


More information about the Qt-interest-old mailing list