[Qt-interest] bash jobcontrol breaks QT4 and inotify ?
Andreas Pakulat
apaku at gmx.de
Tue Aug 17 10:35:05 CEST 2010
On 17.08.10 10:26:52, Arnold Krille wrote:
> 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...
Ah, I wasn't aware that separate threads have their own pid's on linux.
Andreas
--
Your reasoning powers are good, and you are a fairly good planner.
More information about the Qt-interest-old
mailing list