Rev 138 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 138 | Rev 171 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | </indexterm> |
55 | </indexterm> |
56 | 56 | ||
57 | <para>Kernel's unit of execution flow is a thread. A thread is an entity |
57 | <para>Kernel's unit of execution flow is a thread. A thread is an entity |
58 | that executes code and has a stack that takes up some space in memory. The |
58 | that executes code and has a stack that takes up some space in memory. The |
59 | relation between kernel and userspace threads is 1:1:n, meaning that there |
59 | relation between kernel and userspace threads is 1:1:n, meaning that there |
60 | can be several pseudo threads running within one userspace thread that |
60 | can be several so called fibrils running within one userspace thread that |
61 | maps to one kernel thread. Threads are grouped into tasks by functionality |
61 | maps to one kernel thread. Threads are grouped into tasks by functionality |
62 | they provide (i.e. several threads implement functionality of one task). |
62 | they provide (i.e. several threads implement functionality of one task). |
63 | <indexterm> |
63 | <indexterm> |
64 | <primary>task</primary> |
64 | <primary>task</primary> |
65 | </indexterm> Tasks serve as containers of threads, they provide linkage |
65 | </indexterm> Tasks serve as containers of threads, they provide linkage |