📄 c-overview4.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title> Tornado Architecture </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-overview.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-overview.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-overview3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-overview5.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84583">1.4 Target Server Threads</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85671"> </a>The target server uses multiple threads to service WTX requests, target events, load requests, and VIO events efficiently. <a href="c-overview4.html#85677">Figure 1-3</a> shows the various threads. <div class="frame"><h4 class="EntityTitle"><a name="85677"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 1-3: Target Server Threads</font></a></h4><dl class="margin"><div class="Anchor"><a name="85731"> </a><img class="figure" border="0" src="images/c-overviewa2.gif"></div></dl></div> </p><b class="BulletHead-run"><li type="disc"><a name="85784"> </a><font face="Helvetica, sans-serif" size="-1" class="sans"><b class="task">WTX thread</b>. </font></b><dl class="margin"><dd><div class="Indent"><a name="85116"> </a>Each thread services a unique WTX client. When a tool connects to the target server, the target server creates a thread for it which processes all tool requests and exists until the tool disconnects. </div><br></dl><b class="BulletHead-run"><li type="disc"><a name="85119"> </a><font face="Helvetica, sans-serif" size="-1" class="sans"><b class="task">Loader thread</b>. </font></b><dl class="margin"><dd><div class="Indent"><a name="85120"> </a>This thread waits for and performs load requests. This allows the load to be performed asynchronously, so clients are free to do other operations while the load is in progress. It also means a load can be cancelled in process.</div><br></dl><b class="BulletHead-run"><li type="disc"><a name="84645"> </a><font face="Helvetica, sans-serif" size="-1" class="sans"><b class="task">Virtual I/O thread</b>. </font></b><dl class="margin"><dd><div class="Indent"><a name="84646"> </a>This thread waits for inputs from a target server virtual console and sends data to the associated virtual I/O channel. On Windows it is created when the target server is started with the <b class="command">-C</b> (virtual console) option. On UNIX it is always available because UNIX permits consoles to be created at any time using <b class="tclProc">wtxConsoleCreate</b> and this thread is in place to support all consoles. </div><br></dl><b class="BulletHead-run"><li type="disc"><a name="85128"> </a><font face="Helvetica, sans-serif" size="-1" class="sans"><b class="task">Asynchronous events thread</b>. </font></b><dl class="margin"><dd><div class="Indent"><a name="85129"> </a>This thread waits for and handles target events. (For more information, see <a href="c-bkend.html#84379"><i class="title">2. Target Server Back End</i></a>). </div><br></dl></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-overview.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-overview.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-overview3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-overview5.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -