<title></title><meta name="GENERATOR" content="OpenOffice.org 1.9.125 (Linux)"><meta name="AUTHOR" content="premil"><meta name="CREATED" content="20051109;22271000"><meta name="CHANGEDBY" content="premil"><meta name="CHANGED" content="20051109;22274900">
<style>
<!--
@page { size: 8.5in 11in; margin: 0.79in }
P { margin-bottom: 0.08in }
-->
</style>
<p style="margin-bottom: 0.2in;">Dobry den,<br><br>na prednasce jsem
vznesl dotaz na vlakenka (fibers) ve Windows.<br>Vlastne ani nevim,
jestli me to opravdu tak zajimalo, nebo jsem chtel jen ukazat, ze
neco takoveho vubec znam ;-). Tak jsem se pokusil usetrit
prednasejicimu praci a neco jsem o tom nasel.<br><br>Vygooglil jsem
clanek,<br><a href="http://www.usenix.org/publications/library/proceedings/usenix-nt98/full_papers/zabatta/zabatta_html/zabatta.html">http://www.usenix.org/publications/library/proceedings/usenix-nt98/full_papers/zabatta/zabatta_html/zabatta.html,
</a><br>kde
je v sekci 2.1 popsano, o co jde:</p>
<p style="margin-left: 0.42in; margin-bottom: 0.2in;">A <i>fiber</i>
is NT's smallest user-level object of execution. It executes in
the context of a thread and is unknown to the operating system
kernel. A thread can consist of one or more fibers as
determined by the application programmer. Some literature
[<a href="http://www.usenix.org/publications/library/proceedings/usenix-nt98/full_papers/zabatta/zabatta_html/zabatta.html#%5B1%5D">1</a>,<a href="http://www.usenix.org/publications/library/proceedings/usenix-nt98/full_papers/zabatta/zabatta_html/zabatta.html#%5B11%5D">
11</a>]
assume that there is a one-to-one mapping of user-level objects to
kernel-level objects, this is inaccurate. Windows NT does
provide the means for many-to-many scheduling. However, NT's
design is poorly documented and the application programmer is
responsible for the control of fibers such as allocating memory,
scheduling them on threads and preemption. This is different
from Solaris's implementation, as we shall see in the next section.
See [<a href="http://www.usenix.org/publications/library/proceedings/usenix-nt98/full_papers/zabatta/zabatta_html/zabatta.html#%5B7%5D">7</a>,
<a href="http://www.usenix.org/publications/library/proceedings/usenix-nt98/full_papers/zabatta/zabatta_html/zabatta.html#%5B10%5D">10</a>]
for more details on fibers. An illustrative example of NT's
design is shown in <a href="http://www.usenix.org/publications/library/proceedings/usenix-nt98/full_papers/zabatta/zabatta_html/zabatta.html#Figure%202">Figure
2</a>.</p>
<p style="margin-bottom: 0.2in;">Tedy presne to, co Petr Tuma hadal.
:-)<br><br>Premek Paska</p>