On Tue, 11 Aug 2009 01:55:00 +0200 Emanoil Kotsev <delop...@yahoo.com> wrote:
> ga wrote: > > > > > Check out these ones: > > > http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2thread_8cc-example.html#_a11 > > > http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2dispatcher_8cc-example.html#_a0 > > > > Doc: > > > http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Thread.html > > > > Thanks a lot ga. So you mean using the Glib classes. I had a look ... I can > include it in my testing list :-) > > It also links to pthread > > bash$> ldd /usr/lib/libgtkmm-2.4.so.1.0.30 > linux-gate.so.1 => (0xb8007000) > libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0xb7c65000) > .... > libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 > > I bet qt is also using pthread > > So it's better to access pthread myself. The advantage of using the above > and not pthread is that everything has been packed in a class already. > > The above examples are still very useful to give an idea of the > implementation logic. > > Thanks and kind regards > > > As far as I know all linux thread implementation link to ptreahds. Everything else is a wrapper around pthreads. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org