From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: pthreads?
Date: Mon, 6 Oct 2003 15:29:16 +0200 [thread overview]
Message-ID: <200310061529.16173.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <20031002090834.GS24534@vagabond>
Alle 11:08, giovedì 2 ottobre 2003, Jan Hudec ha scritto:
> On Fri, Sep 12, 2003 at 11:07:54 +0200, Geert Uytterhoeven wrote:
> > BTW, it's libX11 that needs libpthread...
>
> bulb@vagabond:~$ ldd /usr/X11R6/lib/libX11.so.6.2
> libdl.so.2 => /lib/libdl.so.2 (0x400d5000)
> libc.so.6 => /lib/libc.so.6 (0x400d8000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> Not see libpthread anywhere around!
Yes, but obviously since it's dinamically loaded, it mustn't be reported.
libdl is used for this(Dinamic Loading). While I run gedit, which seems to
run only 1 thread, and in its /proc/<pid>/maps found libpthread. While I ran
xev(which is simple) and didn't find libpthread. Coming back to Gtk, I run nm
-D on /usr/lib/libglib-2.0.so and it didn't find the "pthr" string, but did
find the "thread" string(with names I think come from the gthread lib). So,
they can use pthread, even if this library doesn't appear in ldd output. How
they do is another problem: probably to use thread, the program will have to
be linked to libgthread/pthread.
>
> However, I just checked gmodule and glib and neither seems to report
> libpthread either!
>
> However, I just ran the simplest gtk-2.0 program I could find
Which is this one? It seems like gedit it's too complex....
> and greped
> it's /proc/<pid>/maps for string pthr. NOT FOUND.
>
> Thus it really looks like gtk-2.0 application does NOT have to use
> pthreads!
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2003-10-06 19:33 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-11 15:54 [uml-devel] pthreads? Geert Uytterhoeven
2003-09-11 17:55 ` Jeff Dike
2003-09-12 8:52 ` [uml-devel] pthreads? Gerd Knorr
2003-09-12 9:07 ` Geert Uytterhoeven
2003-09-12 11:08 ` Gerd Knorr
2003-09-12 11:18 ` Geert Uytterhoeven
2003-09-12 12:15 ` Gerd Knorr
2003-09-12 12:17 ` Geert Uytterhoeven
2003-09-12 11:18 ` Henrik Nordstrom
2003-09-12 16:28 ` Jeff Dike
2003-09-12 22:25 ` Henrik Nordstrom
2003-09-13 18:53 ` Jeff Dike
2003-09-13 21:01 ` Henrik Nordstrom
2003-09-13 15:24 ` Geert Uytterhoeven
2003-09-13 18:54 ` Jeff Dike
2003-09-15 6:57 ` Geert Uytterhoeven
2003-09-15 9:19 ` Henrik Nordstrom
2003-09-15 9:28 ` Geert Uytterhoeven
2003-09-15 10:51 ` Henrik Nordstrom
2003-09-16 18:44 ` BlaisorBlade
2003-10-02 9:20 ` Jan Hudec
2003-10-02 9:08 ` Jan Hudec
2003-10-02 9:24 ` Geert Uytterhoeven
2003-10-02 9:31 ` Jan Hudec
[not found] ` <Pine.GSO.4.21.0310021146500.8567-100000@vervain.sonytel.be>
2003-10-02 13:52 ` Jan Hudec
2003-10-02 14:28 ` Geert Uytterhoeven
2003-10-02 14:42 ` Jan Hudec
2003-10-07 15:51 ` The Story Continues (was: Re: [uml-devel] Re: pthreads?) Geert Uytterhoeven
2003-10-11 1:48 ` Jeff Dike
2003-10-11 8:39 ` Geert Uytterhoeven
2003-10-12 9:53 ` Geert Uytterhoeven
2003-10-06 13:29 ` BlaisorBlade [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-12 12:30 [uml-devel] Re: pthreads? stian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310061529.16173.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox