[Qt-interest] Threads

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Wed Jun 23 06:38:53 CEST 2010


>> Doh!  That's not quite right... but it's usually right.
>>
>> pthreads is POSIX, and somewhat implementation independent.
>>
>> The threads are supplied with your libc.  Most these days are shipping
>> NPTL.  NPTL is kernel threads.  LinuxThreads is user-space threads
>> (IIRC).  Most every distro is using NPTL these days.

IMO, NPTL != kernel threads.

In Linux each thread is directly seen by the kernel as a schedulable
entity. But threads are still run in user space unlike linux kernel
threads which run in the kernel context.

CMIIW.

Regards,
-mandeep


>>
>> Read the man page pthreads(7) for more info (man 7 pthreads)
>>
>> -gabriel
>>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>




More information about the Qt-interest-old mailing list