亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? c-smo3.html

?? this about vxworks operations systems
?? HTML
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Shared-Memory Objects   </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="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-smo.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-smo2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-smo4.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="85285">6.3  &nbsp;&nbsp;Internal Considerations</a></i></h3></font><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="85286">6.3.1  &nbsp;&nbsp;System Requirements</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85288"> </a>The shared-memory region used by shared-memory objects must be visible to all CPUs in the system. Either dual-ported memory on the master CPU (CPU 0) or a separate memory board can be used. The shared-memory objects' anchor must be in the same address space as the shared-memory region. Note that the memory does <i class="emphasis">not</i><b> </b>have to appear at the same address for all CPUs.</p></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/caution.gif"></td><td><hr><div class="CalloutCell"><a name="86504"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">CAUTION:  </font></b></a>Boards that make use of VxMP must support hardware test-and-set (indivisible read-modify-write cycle). PowerPC is an exception; see <a href="x-ppc.html#84368"><i class="title">F.&nbsp;PowerPC</i></a>.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dl class="margin"><dd><p class="Body"><a name="85301"> </a>All CPUs in the system must support indivisible read-modify-write cycle across the (VME) bus. The indivisible RMW is used by the spin-lock mechanism to gain exclusive access to internal shared data structures; see <a href="c-smo3.html#88047"><i class="title">6.3.2&nbsp;Spin-lock Mechanism</i></a> for details. Because all the boards must support a hardware test-and-set, the constant <b class="symbol_UC">SM_TAS_TYPE </b>must be set to <b class="symbol_UC">SM_TAS_HARD</b> on the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Parameters</font></b> tab of the project facility VxWorks view.</p><dd><p class="Body"><a name="85306"> </a>CPUs must be notified of any event that affects them. The preferred method is for the CPU initiating the event to interrupt the affected CPU. The use of interrupts is dependent on the capabilities of the hardware. If interrupts cannot be used, a polling scheme can be employed, although this generally results in a significant performance penalty.</p><dd><p class="Body"><a name="88045"> </a>The maximum number of CPUs that can use shared-memory objects is 20 (CPUs numbered 0 through 19). The practical maximum is usually a smaller number that depends on the CPU, bus bandwidth, and application.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="88047">6.3.2  &nbsp;&nbsp;Spin-lock Mechanism</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="88048"> </a>Internal shared-memory object data structures are protected against concurrent access by a <i class="term">spin-lock mechanism</i>. The spin-lock mechanism is a loop where an attempt is made to gain exclusive access to a resource (in this case an internal data structure). An indivisible hardware read-modify-write cycle (hardware test-and-set) is used for this mutual exclusion. If the first attempt to take the lock fails, multiple attempts are made, each with a decreasing random delay between one attempt and the next. The average time it takes between the original attempt to take the lock and the first retry is 70 microseconds on an MC68030 at 20MHz. Operating time for the spin-lock cycle varies greatly because it is affected by the processor cache, access time to shared memory, and bus traffic. If the lock is not obtained after the maximum number of tries specified by <b class="symbol_UC">SM_OBJ_MAX_TRIES</b> (defined in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Params</font></b> tab of the properties window for shared memory objects in the VxWorks view), <b class="symbol_lc">errno</b> is set to <b class="symbol_UC">S_smObjLib_LOCK_TIMEOUT</b>. If this error occurs, set the maximum number of tries to a higher value. Note that any failure to take a spin-lock prevents proper functioning of shared-memory objects. In most cases, this is due to problems with the shared-memory configuration; see <a href="c-smo5.html#85682"><i class="title">6.5.2&nbsp;Troubleshooting Techniques</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="88062">6.3.3  &nbsp;&nbsp;Interrupt Latency</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="88064"> </a>For the duration of the spin-lock, interrupts are disabled to avoid the possibility of a task being preempted while holding the spin-lock. As a result, the interrupt latency of each processor in the system is increased. However, the interrupt latency added by shared-memory objects is constant for a particular CPU.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="85320">6.3.4  &nbsp;&nbsp;Restrictions</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85321"> </a>Unlike local semaphores and message queues, shared-memory objects cannot be used at interrupt level. No routines that use shared-memory objects can be called from ISRs. An ISR is dedicated to handle time-critical processing associated with an external event; therefore, using shared-memory objects at interrupt time is not appropriate. On a multiprocessor system, run event-related time-critical processing on the CPU where the time-related interrupt occurred.</p><dd><p class="Body"><a name="88113"> </a>Note that shared-memory objects are allocated from dedicated shared-memory pools, and cannot be deleted. </p><dd><p class="Body"><a name="88115"> </a>When using shared-memory objects, the maximum number of each object type must be specified on the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Params</font></b> tab of the properties window; see <a href="c-smo4.html#85430"><i class="title">6.4.3&nbsp;Initializing the Shared-Memory Objects Package</i></a>. If applications are creating more than the specified maximum number of objects, it is possible to run out of memory. If this happens, the shared object creation routine returns an error and <b class="symbol_lc">errno</b> is set to <b class="symbol_UC">S_memLib_NOT_ENOUGH_MEM</b>. To solve this problem, first increase the maximum number of shared-memory objects of corresponding type; see <a href="c-smo4.html#87165">Table&nbsp;6-5</a> for a list of the applicable configuration constants. This decreases the size of the shared-memory system pool because the shared-memory pool uses the remainder of the shared memory. If this is undesirable, increase both the number of the corresponding shared-memory objects and the size of the overall shared-memory region, <b class="symbol_UC">SM_OBJ_MEM_SIZE</b>. See <a href="c-smo4.html#85343"><i class="title">6.4&nbsp;Configuration</i></a> for a discussion of the constants used for configuration.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="85335">6.3.5  &nbsp;&nbsp;Cache Coherency</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="87105"> </a>When dual-ported memory is used on some boards without MMU or bus snooping mechanisms, the data cache must be disabled for the shared-memory region on the master CPU. If you see the following error message, make sure that the constant <b class="symbol_UC">INCLUDE_CACHE_ENABLE</b> is not selected for inclusion in the VxWorks view:</p><dl class="margin"><dd><pre class="Code2"><b><a name="87109">usrSmObjInit - cache coherent buffer not available. Giving up.</a></b></pre></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="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-smo.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-smo2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-smo4.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 + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品成人一区二区| 成人小视频在线| 欧美伊人久久久久久午夜久久久久| 亚洲欧洲在线观看av| av电影在线不卡| 伊人色综合久久天天人手人婷| 色丁香久综合在线久综合在线观看| 亚洲另类在线制服丝袜| 欧美日韩1区2区| 精品无人码麻豆乱码1区2区| 久久精品视频一区二区| 91同城在线观看| 午夜私人影院久久久久| 欧美电影免费观看高清完整版在线观看| 精品一区二区三区欧美| 国产精品三级在线观看| 欧美视频中文字幕| 精品亚洲成av人在线观看| 国产精品欧美精品| 欧美精品久久99久久在免费线| 麻豆免费精品视频| 国产精品二三区| 在线不卡一区二区| 国产成都精品91一区二区三 | 欧美一区二区大片| 国产精品亚洲一区二区三区妖精| 国产精品无遮挡| 欧美精品一二三四| 国产精华液一区二区三区| 夜夜操天天操亚洲| 国产亚洲福利社区一区| 欧美在线制服丝袜| 成人小视频在线| 蜜桃视频免费观看一区| 亚洲手机成人高清视频| 欧美一级理论性理论a| 成人黄色一级视频| 久久精品国产亚洲aⅴ| 亚洲三级在线播放| 日韩av在线发布| 国产精品美女久久久久久久久 | 99久久免费视频.com| 奇米亚洲午夜久久精品| 亚洲欧美另类小说视频| 精品国产乱码久久久久久夜甘婷婷| 91麻豆自制传媒国产之光| 国内精品国产三级国产a久久| 亚洲韩国精品一区| 欧美国产激情一区二区三区蜜月| 4438x成人网最大色成网站| 99久久伊人精品| 盗摄精品av一区二区三区| 日韩不卡手机在线v区| 亚洲黄色av一区| 中文字幕一区二区在线观看 | 欧美片网站yy| 99久久精品免费看国产| 国产ts人妖一区二区| 狠狠网亚洲精品| 蜜乳av一区二区三区| 亚洲v精品v日韩v欧美v专区| 自拍偷拍国产亚洲| 中文字幕中文在线不卡住| 精品盗摄一区二区三区| 日韩精品一区二区三区在线播放| 9191国产精品| 欧美人妇做爰xxxⅹ性高电影| 日本高清不卡视频| 91久久精品一区二区二区| 2023国产精品| 日韩午夜中文字幕| 91超碰这里只有精品国产| 欧美日韩不卡一区二区| 欧美特级限制片免费在线观看| 一本一道久久a久久精品| av中文字幕在线不卡| 9i在线看片成人免费| 一本大道久久a久久综合| 91网址在线看| 欧美性感一区二区三区| 在线区一区二视频| 欧美日韩精品免费| 日韩一区二区在线观看视频播放| 欧美一级高清片| 精品国产精品一区二区夜夜嗨| 欧美精品一区二区三区蜜桃| 久久综合九色综合欧美98| 久久精品综合网| 中文字幕一区二区三区av| 亚洲老司机在线| 亚洲午夜精品久久久久久久久| 天堂一区二区在线| 久久99精品国产.久久久久久| 久久99国产精品久久| 高潮精品一区videoshd| 91一区二区在线| 制服丝袜一区二区三区| 精品国产制服丝袜高跟| 亚洲国产岛国毛片在线| 亚洲精品成人精品456| 五月激情综合婷婷| 国产毛片精品国产一区二区三区| 国产盗摄视频一区二区三区| 成人黄色国产精品网站大全在线免费观看 | 婷婷一区二区三区| 久久精品国产亚洲一区二区三区| 国产成人av自拍| 日本乱码高清不卡字幕| 欧美一级淫片007| 日本一二三四高清不卡| 午夜在线成人av| 国产成人免费在线视频| 在线看日本不卡| 欧美大片免费久久精品三p| 中文字幕av一区二区三区| 天堂成人免费av电影一区| 国产大陆亚洲精品国产| 欧美日韩国产bt| 日本一区二区三区在线观看| 亚洲高清免费视频| 成人午夜激情视频| 91精品国产综合久久香蕉的特点 | 五月天激情小说综合| 国产精品自拍在线| 欧美性感一区二区三区| 国产欧美日本一区视频| 日韩精品高清不卡| 91蜜桃传媒精品久久久一区二区| 精品乱码亚洲一区二区不卡| 亚洲欧美另类综合偷拍| 国产成人亚洲综合色影视| 欧美少妇xxx| 综合中文字幕亚洲| 国产一区二区三区日韩| 欧美日韩精品一区二区三区| 国产精品国产三级国产普通话99| 日本免费新一区视频| 91久久精品一区二区| 国产亚洲精品福利| 精品亚洲欧美一区| 91精品视频网| 亚洲一区二区三区四区不卡| 国产一区三区三区| 日韩视频一区二区| 亚洲在线观看免费| 99精品久久免费看蜜臀剧情介绍| 精品国产成人系列| 五月婷婷综合激情| 日本电影欧美片| 亚洲欧美综合在线精品| 国产高清成人在线| 久久久另类综合| 久久 天天综合| 欧美美女一区二区在线观看| 亚洲欧美另类在线| 色吊一区二区三区| 亚洲免费观看高清完整版在线观看熊| 国产.欧美.日韩| 日本一区二区在线不卡| 国产精品18久久久久久vr| 欧美成人a在线| 麻豆精品新av中文字幕| 正在播放亚洲一区| 麻豆精品精品国产自在97香蕉| 91精品国产综合久久婷婷香蕉 | 久久99精品久久久久久动态图| 欧美色欧美亚洲另类二区| 一区二区三区四区不卡在线| 91色|porny| 亚洲综合一区二区精品导航| 欧美三区在线观看| 日韩—二三区免费观看av| 日韩一区二区在线看| 国产一区二区调教| 国产午夜精品久久久久久久 | 久久99国产精品免费| 日韩精品中午字幕| 国产麻豆一精品一av一免费| 国产日韩欧美一区二区三区综合 | 亚洲一区二区三区四区在线| 欧美三级电影精品| 日韩av电影天堂| 欧美大片在线观看一区二区| 精品写真视频在线观看| 久久久三级国产网站| av电影在线观看一区| 亚洲一区二区三区四区在线| 欧美精品1区2区| 韩国精品主播一区二区在线观看| 国产欧美精品一区二区色综合朱莉| 99久久综合国产精品| 亚洲自拍与偷拍| 精品卡一卡二卡三卡四在线| 国产激情偷乱视频一区二区三区| 一区视频在线播放| 91精品国产欧美一区二区18| 国产福利一区二区三区视频在线 | 国产综合久久久久影院| 日本一区二区不卡视频| 欧美特级限制片免费在线观看|