arief# wrote:
Dear all.
Ada yang tahu spesifikasi NPTL di Linux?
Maksud saya, how the things works? (And yes, I have read NPTL
descriptions from Ulrich Drepper, but still don't feel am getting it
right).
Summary dari Ulrich dan lebih mudah dibaca: http://kerneltrap.org/node/view/422
Ada yang punya akses gak ke POSIX specs untuk Threading?
http://www.opengroup.org/onlinepubs/009695399/idx/threads.html
Atau mungkin ada yang bisa menjelaskan bagaimana thread bekerjaErrr... cara kerja internalnya atau cara pake thread (thread vs. process, dsb dsb)?
(technically)?
Cara pake POSIX thread: http://www.amazon.com/gp/reader/0201633922/ref=sib_dp_pt/002-8802381-6438402#reader-link
Thread tutorial sederhana yg saya tulis (pake Python dan bukan POSIX thread):
http://www.codemovers.org/go/movers/Teaching/LabFive
Cara kerja internal - hmm.. source code NPTL kali :-)
Thread library bisa diimplementasikan di User Space atau Kernel Space. Posix
thread sebelon NPTL merupakan user space thread. Jadi running didalam process
nya applikasi yg lagi di run. Scheduling nggak dilakukan oleh kernel. Blocking dan
signalling di process level - semua threads dalam process kena effeknya.
Kernel level thread dischedule oleh kernel. Kalo satu thread nge-block, thread yg
lain dalam process tersebut nggak kena block. Kernel bisa menschedule thread
atau process lain untuk run.
<> Lagi belajar Hurd nih, terus iseng pengen tau bisa gak ya NPTL itu di port ke Hurd. Just for fun.. ;-)
Why not? As long as it doesn't "Hurt" :-)
Salam, Andrew...
<> Salam hangat. -arief
-- Berhenti langganan: [EMAIL PROTECTED] Arsip dan info: http://linux.or.id/milis.php
