Rev 59 | Rev 62 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 59 | Rev 61 | ||
---|---|---|---|
Line 117... | Line 117... | ||
117 | and to the latter group as to userspace threads. Both kernel and userspace |
117 | and to the latter group as to userspace threads. Both kernel and userspace |
118 | threads are visible to the scheduler and can become a subject of kernel |
118 | threads are visible to the scheduler and can become a subject of kernel |
119 | preemption and thread migration during times when preemption is |
119 | preemption and thread migration during times when preemption is |
120 | possible.</para> |
120 | possible.</para> |
121 | 121 | ||
- | 122 | <para> |
|
- | 123 | <mediaobject id="thread_states" xreflabel=""> |
|
- | 124 | <imageobject role="html"> |
|
- | 125 | <imagedata fileref="images/thread_states.png" format="PNG" /> |
|
- | 126 | </imageobject> |
|
- | 127 | ||
- | 128 | <imageobject role="fop"> |
|
- | 129 | <imagedata fileref="images.vector/thread_states.svg" format="SVG" /> |
|
- | 130 | </imageobject> |
|
- | 131 | ||
- | 132 | <caption>Transitions among thread states.</caption> |
|
- | 133 | </mediaobject> |
|
- | 134 | </para> |
|
- | 135 | ||
- | 136 | ||
122 | <para>HelenOS userspace layer knows even smaller units of execution. Each |
137 | <para>HelenOS userspace layer knows even smaller units of execution. Each |
123 | userspace thread can make use of an arbitrary number of pseudo threads. |
138 | userspace thread can make use of an arbitrary number of pseudo threads. |
124 | These pseudo threads have their own synchronous register context, |
139 | These pseudo threads have their own synchronous register context, |
125 | userspace code and stack. They live their own life within the userspace |
140 | userspace code and stack. They live their own life within the userspace |
126 | thread and the scheduler does not have any idea about them because they |
141 | thread and the scheduler does not have any idea about them because they |