Light_Weight_Kernel_Threads Light_Weight_Kernel_Threads

Light Weight Kernel Threads - Definition

Related Words: Array, Attire, Clothes, Clothing, Costume, Drapery, Dress, Dressing, Fashion, Fatigues, Feathers, Fig, Garb, Garments, Gear, Guise, Habit, Investiture, Investment, Linen, Rags

Light Weight Kernel Threads or LWKT is a term from computer science in general and in DragonFly BSD in particular. LWKTs differ from normal kernel threads in that they can preempt normal kernel threads. According to Matt Dillon, DragonflyBSD creator:

"The LWKT scheduler is responsible for actually running a thread. It uses a fixed priority scheme but you have to keep in mind that the fixed priorities are differentiating major subsystems, not user processes. "For example, hardware interrupt threads have the highest priority, followed by software interrupts, kernel-only threads, then finally user threads. A user thread either runs at user-kernel priority (when it is actually running in the kernel, e.g. running a syscall on behalf of userland), or a user thread runs at user priority. "DragonFly does preempt... it just does it very carefully and only under particular circumstances. An LWKT interrupt thread can preempt most other threads, for example. This mimics what FreeBSD-4.x already did with its spl/run-interrupt-in-context-of-current-process mechanism. What DragonFly does *NOT* do is allow a non-interrupt kernel thread to preempt another non-interrupt kernel thread."[1] (http://www.shiningsilence.com/mailarchive/kernel/2003-November/1719.html)

References

Matt Dillon's post about the LWKT scheduler (http://www.shiningsilence.com/mailarchive/kernel/2003-November/1719.html)

Example Usage of Threads

wazua: Friday Threads http://bit.ly/6ImBFd
irhaam: @sennasatou kaskuser, bagi cendol gan ! hahaha, gue cuma sering buka kaskus, itupun cuma hot Threads, haha
dukeofrochdale: Just watched the trailer to 'The Road' yikes! i might as well watch Threads. Why not a new campaign Threads for the BBC1 Xmas day movie
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.