[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Fwd: [kde] many open kio slaves
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-02-24 0:58:00
Message-ID: 200502232158.01277.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Manuel Amador wrote:
>Not with my procps, I'm running a heavily threaded python app I wrote
>and it shows up as a single thread.  Please enlighten me.

Python doesn't count because it's interpreted. It can be multithreaded 
with a single OS process.

If you're on Linux, try this:
$ ldd /bin/ls | grep libc
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e7f000)
$ /lib/tls/libc.so.6 | grep Thread
        Native POSIX Threads Library by Ulrich Drepper et al
Thread-local storage support included.

(if the libc.so.6 file isn't executable, chmod +x)

If it says "Native POSIX Threads Library", you've got one-pid 
many-threads. If it says LinuxThreads, then it's one-pid-per-thread mode.

-- 
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

3. Ac seo woruld wearð geborod, swá se Scieppend cweað "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic