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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? vxw_pt5.html

?? vxworks 問題解答
?? HTML
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
<br>(From: Fred Roeber, froeber@bbn.com)<p><hr WIDTH="60%"><p><h3><a NAME="5.7"><center>5.7 Semaphores</center></a></h3><a NAME="5.7-A"></a>Q: It looks like the priority inversion mechanism is not working correctly.<p>A: This may not be the issue here, but you should note the throw-away line inthe semMLib description...<p>"The task will return to its normal priority only after relinquishing all ofits mutual-exclusion semaphores that have the inversion-safety optionenabled".<p>So if your Task Two happens to have hold of some other (probably unrelated)inversion-safe mutex, this will prevent it from reverting to its formerpriority, even though Task One is not waiting on the semaphore you arecurrently focussing on. (This was the cause of a deadlock I recentlyencountered!)<br>(From: Will Fookes, will@noSpam.wfookes.co.uk)<p><hr WIDTH="60%"><p><h3><a NAME="5.8"><center>5.8 Simulator (VxSim)</center></a></h3><a NAME="5.8-A"></a><p>Q: How can I start multiple simulators on NT and have these communicating?<p>A: While in a VxWorks class, the instructor gave me the following info.With this I was able to finally get it to work!<br>Just two things:<ol><li>Make sure you configure WDB END driver instead of the WDB simulator pipe.<blockquote>development tool components -&gt; WDB agent components -&gt;<br>select WDB connection -&gt; WDB END driver connection</blockquote></li><li>I got an exception using buffers greater then 1400 with a TCPconnection.  Fragmentation problem?  Same code works fine on real hardware.</li></ol>The info in in <a href="multsimnt.html">this file</a>.<br>(From: Luc Pariseau, lparisea@nortelnetworks.com)<p><hr WIDTH="50%"><a NAME="5.8-B"></a><p>Q: How do I increase the memory of the simulator?<p>A: Use the /r switch to control the amount of memory of the simulator. Thesize is in bytes, and not in kBytes as the manual states. You also have tobuild a custom-configured simulator, as the default simulator does not supportthe /r-switch.<p><a NAME="5.8-B1"></a>In case the command line is not an option, here is another way:I think the magic line you want to change is in 01Simulator.win32.tcl:[::simulatorLaunch $imageName $pNo $workingDir 30000] \and the 30000 will be your memory size.  If you don't want to brute force ityou can add code to the showImageDlg procedure (look at the dialog on thebottom of the file) to prompt you for it.  Right now it seems as if it'shardcoded on win32 platform and they prompt you only on UNIX.. (look in theLaunch directory for the UNIX implementation)<br>(From: Steven Szabo, Steven.Szabo@motorola.com)<p><hr WIDTH="50%"><a NAME="5.8-C"></a><p>Q: How can I have 2 simulators communicate with eachother on Win2K box?<p>A: You need to setup the ULIP driver correctly, which means you need to  enable IP-Routing.<br>Here is the result of my "ipconfig /all" (Sorry, output is in German! (Jameans Yes, Nein means No)):<pre>Windows 2000-IP-Konfiguration        Hostname. . . . . . . . . . . . . : martin        Primares DNS-Suffix . . . . . . . :        Knotentyp . . . . . . . . . . . . : Hybridadapter        IP-Routing aktiviert. . . . . . . : Ja&lt;-------------------        WINS-Proxy aktiviert. . . . . . . : NeinEthernetadapter "vxSIM WindRiver":        Verbindungsspezifisches DNS-Suffix:        Beschreibung. . . . . . . . . . . : WindRiver ULIP        Physikalische Adresse . . . . . . : 00-00-00-00-00-00        DHCP-aktiviert. . . . . . . . . . : Nein        IP-Adresse. . . . . . . . . . . . : 90.0.0.254&lt;--------------------        Subnetzmaske. . . . . . . . . . . : 255.255.0.0&lt;-------------------        Standardgateway . . . . . . . . . :        DNS-Server. . . . . . . . . . . . :</pre>Pinging from one to the other vxSim works fine.But you need to start the Simulator using a processor number &gt;0, then youwill get the target server calling parameters to start with wdbrpc:<code>90.0.0.2 -B wdbrpc -Bt 3 -R f:\TEMP\tsfs -RW -n "vxsim1@martin"</code><p>Here is my output:<br>Simulator #1 to #3:<pre>-&gt; ping "90.0.0.4"PING 90.0.0.4: 56 data bytes64 bytes from vxTarget (90.0.0.4): icmp_seq=0. time=0. ms</pre>Simulator #3 to #1:<pre>-&gt; ping "90.0.0.2"PING 90.0.0.2: 56 data bytes64 bytes from vxTarget (90.0.0.2): icmp_seq=0. time=0. ms</pre>Simulator #3 to win2k host:<pre>-&gt; ping "90.0.0.254"PING 90.0.0.254: 56 data bytes64 bytes from host (90.0.0.254): icmp_seq=0. time=0. ms</pre><br>(From: Martin Raabe, Martin.Raabe@WindRiver.com)<p><hr WIDTH="50%"><a NAME="5.8-D"></a><p>Q: The font in my VxSim window is very small.<p>A: You are probably using Regional settings other than English. If you changeit to English, it should work. There is also another way where you don'thave to change regional settings and it involves tempering with the codeof VxWorks.exe.<br>(From: Tomislav Razov, tomislav.razov@siemens.hr)<p><a NAME="5.8-D2"></a>It is also possible to use the following tool. The exe file should be runafter each time you run the simulator. We integrated the call into theresposible TCL file, which is <a href="01Simulator.win32.tcl.patch">attached</a> also.The tool (source and executable) can be found here:<a href="SimFont.zip">SimFont.zip</a>.<br>(From: Ofer Goren, ofer_goren@iamba.com)<p><hr WIDTH="50%"><a NAME="5.8-E"></a><p>Q: How can I make 2 simulators communicate on a Solaris box?<p>A: Enable IP forwarding on solaris.<pre>ndd -set /dev/ip ip_forwarding 1</pre>(From: Vijay Paul, paulv@lucent.com)<p><hr WIDTH="60%"><p><h3><a NAME="5.9"><center>5.9 Task related items</center></a></h3><a NAME="5.9-A"></a>Q: What is the use of taskDelay(0)?<p>A: The following msg was posted by Dave Schmidt of Wind River on thenewsgroup concerning taskDelay (0):<blockquote>That will put the current task at the end of the ready queue for thecurrent priority.  It will allow any other tasks on the ready queue ofthe same priority to be run (sort of round robin, if you issuetaskDelay(0) for them also when you want to go to the next task), ofcourse all higher priority tasks will run and intterrupt serviceroutines will also run.<br>Please note that this method will NOT allow tasks of lower priority torun, it just forces a rescheduling.  If the task being delayed is theonly one of that priority, then it will restart immediately.</blockquote><p><hr WIDTH="50%"><a NAME="5.9-B"></a><p>Q: How do I use taskInit?<p>A: First: why use taskInit? If you want to synchronise startup use taskInitand let the new task(s) wait on a semaphore.<br>But if you still want to use it, here are some examples:<p>From john_94501@my-deja.com:<br>This code is cut from something that uses taskInit ina portable way (i.e. it takes into account the stack direction of theCPU being used). This is another reason why I prefer to use taskSpawn!<pre>    int ret;    char    *memArea;    /* initialize TCB and stack space */    memArea = (char *) malloc (STACK_ROUND_UP(STACK_SIZE) + sizeof (WIND_TCB) + 16);    /* initialize task */    ret = taskInit ((WIND_TCB *) (memArea + 16), NULL, 150, VX_NO_STACK_FILL,#if (_STACK_DIR == _STACK_GROWS_DOWN)            (char *) (memArea + STACK_SIZE + sizeof (WIND_TCB)),#else            memArea + STACK_ROUND_UP (sizeof (WIND_TCB) + 16),#endif            STACK_SIZE, (FUNCPTR) function,            0, 0, 0, 0, 0, 0, 0, 0, 0, 0);    /* args */    if (ret == ERROR)    {        perror ("taskInit");        return(0);    }    else    {        taskActivate ((int) memArea);    }</pre>And that is basically it! Your task should be running by the end of thatsequence. If you wish to delay the starting point just move the call totaskActivate().<p>Another example from steven.offenbacher@jhuapl.edu:<p> I also have a working example where I don't usemalloc.  I statically create the TCB and stack.<pre>    WIND_TCB tMonitorTcb;    char tMonitorStack[STACK_SIZE];    /*     Example #04.  taskInit/taskActivate method using statically allocated                   TCB and stack     */    status = taskInit(&amp;tMonitorTcb,              /* TCB Address        */                 "tMonitorMethod04",             /* Task/Thread Name   */                 240,                            /* Priority 0=Highest */                 VX_NO_STACK_FILL,               /* Options            */                 /*                  Determine which way stack grows and                  adjust address if necessary                  */#if (_STACK_DIR == _STACK_GROWS_DOWN)                 tMonitorStack+STACK_SIZE,       /* Stack base address */#else                 tMontiorStack,                  /* Stack base address */#endif                 STACK_SIZE,                     /* Stack size in bytes*/                 (FUNCPTR) monitor,              /* Task entry point   */                 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0);  /* VxW Req 10 parms   */    /*     Task exists but is not running at this point.  The debugger can now attach to the task     and set breakpoints provided the user does not detach or attach to some other task     */    if (status == OK)                            /* Only activate if init ok */        status = taskActivate((int)&amp;tMonitorTcb);/* Actually start task */</pre><p><hr WIDTH="50%"><a NAME="5.9-C"></a><p>Q: When the priority of a task is requested using taskPriorityGet it ispossible that this is not the real value, as this might change due topriority inversion. How do I get the right value?<p>Q: The normal priority is kept in the TCB. It can be read using this command:<pre>priority = (taskTcb(taskIdSelf()))-&gt;priNormal;</pre><br>(From cwein@my-deja.com and Pete Kockritz, pkockritz@home.com)<p><hr WIDTH="50%"><a NAME="5.9-D"></a><p>Q: Using WindView, I've noticed a task that has just completed (eg. byreturning) doing the following in close sucession:<ul><li>Calling taskDelete upon itself (presumably this is what shouldhappen when the task returns)</li><li>Being almost immediately preempted by tExcTask, which then:</li><ul><li>taskDeletes the task /again/ and then...</li><li>calls taskSuspend on the task (which is now *very* much dead)</li></ul></ul>Why this order, the task would have been deleted after the first call to taskDelete anyway.<p>A: The sequence is not only familiar, but it is correct, at least asfar as the deletion of the task... let me explain in more detail...<br>Normally, when one task deletes another the one doing the work has acontext, stack etc to execute the task deletion code on. This isnecessary, obviously, since the code performing the deletion is simply Ccode, and might block or be interrupted.<br>Now, when a task deletes itself it has a small problem: it can't deleteits own stack and context information (TCB), since that would leave theexecuting code without any stack or context. OK, it could lockinterrupts until it was all cleaned up, but that would not be good in areal time OS where interrupt latency is an important factor.<br>So, the taskDelete() code performs some checks up front, and if it isdeleting itself the work is actually passed to another task to do(tExcTask in this case). The actual code is a little more involved, butthis is a rough idea of what happens (function names not accurate, butchosen to express the concept):<pre>if (taskToDelete == taskIdSelf()    {    queueJob (taskDelete, taskToDelete);    taskSuspend (0);    }</pre>Since the exception task is a high priority task it will preempt thetask deleting that was itself in most cases. At some point in theprocess, the taskDelete operation blocked for something. At that time,the original task was rescheduled, and promptly suspended itself (afterall, it is expecting to die very soon...).<br>Your description sounds pretty much like what I'd expect WindView to seefor a task deletion. The "exception" task is not really that well namedsince it is used for more than just displaying exception messages.Consider it to be a kernel thread, used for the OS to push work out totask level, much like an ISR that signals an associated task to performthe actual work.<br>(From: john_94501@my-deja.com)<p><hr WIDTH="50%"><a NAME="5.9-E"></a><p>Q: How can I build a stack-trace?<p>A: You can do this using an undocumented function called "trcStack".Here is all you need. You can even call xxxTrace(tid) from interrupt level...though logMsg() is far from ideal.<pre>/********************************************************************************* xxxTracePrint - stack trace print function** RETURNS: OK or ERROR*/static void xxxTracePrint    (    INSTR *caller,    int func,    int nargs,    int *args    )    {    char buf [250];    int ix;    int len = 0;    len += sprintf (&amp;buf [len], "%#10x: %#10x (", (int)caller, func);    for (ix = 0; ix &lt; nargs; ix++)        {        if (ix != 0)            len += sprintf (&amp;buf [len], ", ");        len += sprintf (&amp;buf [len], "%#x", args [ix]);        }    len += sprintf (&amp;buf [len], ")\n");    logMsg (buf);    }/********************************************************************************* xxxTrace - stack trace** RETURNS: OK or ERROR*/int xxxTrace    (    WIND_TCB *pTcb    )    {    REG_SET regs;    if (pTcb == NULL)        return (ERROR);    taskRegsGet ((int)pTcb, &amp;regs);    trcStack (&amp;regs, (FUNCPTR) xxxTracePrint, (int)pTcb);    return (OK);    }</pre>(From: Geoffrey Espin, espin@idiom.com)

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费av成人在线| 国产精品国产三级国产普通话蜜臀| 91精品欧美一区二区三区综合在 | 亚洲午夜久久久| 美女视频黄免费的久久| 国产91精品一区二区| 在线观看一区日韩| 日韩免费电影一区| 亚洲婷婷综合色高清在线| 天天综合色天天| 粉嫩绯色av一区二区在线观看| 在线国产电影不卡| 久久久www免费人成精品| 一区二区三区四区激情| 精品系列免费在线观看| 91麻豆国产在线观看| 欧美成人女星排行榜| 亚洲免费三区一区二区| 激情偷乱视频一区二区三区| 日本乱人伦aⅴ精品| 欧美一级高清大全免费观看| 一区免费观看视频| 麻豆精品视频在线观看| 色狠狠一区二区三区香蕉| 欧美成人精品3d动漫h| 亚洲三级免费观看| 国产美女精品一区二区三区| 欧美日韩国产高清一区二区三区 | www.性欧美| 欧美电视剧在线看免费| 亚洲一区二区三区视频在线播放 | 中文字幕av一区 二区| 日本伊人色综合网| 日本精品一区二区三区高清| 国产亚洲欧美色| 日本成人在线网站| 在线观看中文字幕不卡| 欧美激情在线一区二区| 久久草av在线| 3751色影院一区二区三区| 亚洲免费观看高清| 成人午夜免费电影| 久久久久综合网| 免播放器亚洲一区| 欧美精品在欧美一区二区少妇| 国产精品美日韩| 国产美女在线精品| 欧美www视频| 美女精品自拍一二三四| 欧美高清视频在线高清观看mv色露露十八| 国产精品久久久久久久久动漫| 国产一区二区三区免费播放 | 国产中文字幕精品| 日韩午夜在线影院| 日韩黄色一级片| 欧美在线视频不卡| 亚洲日本青草视频在线怡红院| 国产传媒一区在线| 久久亚洲捆绑美女| 国产在线精品一区二区夜色| 欧美一区二区三区播放老司机| 亚洲sss视频在线视频| 欧美日韩一区二区三区四区五区| 亚洲乱码国产乱码精品精的特点| www.综合网.com| 1000部国产精品成人观看| 99久久国产综合精品女不卡| 中文字幕一区三区| 99精品热视频| 亚洲精品免费在线| 欧美亚洲综合一区| 性感美女极品91精品| 欧美在线看片a免费观看| 一区二区三区成人| 在线观看成人免费视频| 亚洲aaa精品| 欧美一区二区国产| 精品一区二区在线看| 久久综合中文字幕| 国产精品123区| 欧美国产一区在线| 91亚洲国产成人精品一区二区三| 国产女人aaa级久久久级| 国产成人综合在线播放| 亚洲国产精华液网站w| 成人av电影免费观看| 亚洲免费观看在线观看| 精品视频一区二区不卡| 三级欧美韩日大片在线看| 91精品国产品国语在线不卡| 日本在线不卡视频| 久久久美女毛片| 99久久精品免费观看| 亚洲大型综合色站| 欧美不卡一区二区| 成人性视频免费网站| 亚洲激情综合网| 91精品国产日韩91久久久久久| 国产精品一区三区| 亚洲少妇中出一区| 欧美男男青年gay1069videost | 国产亚洲va综合人人澡精品| 不卡视频在线观看| 亚洲综合成人在线| 欧美大片日本大片免费观看| 粉嫩嫩av羞羞动漫久久久 | 91精品国产综合久久精品app| 免费看日韩精品| 亚洲国产成人私人影院tom| 91美女在线观看| 麻豆国产欧美一区二区三区| 国产精品无码永久免费888| 91国产精品成人| 国产在线视频一区二区| 亚洲欧美一区二区三区国产精品| 欧美乱妇15p| 成人精品鲁一区一区二区| 亚州成人在线电影| 久久精品水蜜桃av综合天堂| 欧美性猛交一区二区三区精品| 激情亚洲综合在线| 亚洲一区二区视频| 久久蜜桃av一区二区天堂| 欧洲av一区二区嗯嗯嗯啊| 国产一区二区毛片| 亚洲国产精品麻豆| 中文字幕免费一区| 欧美一级片在线看| 色婷婷久久久亚洲一区二区三区 | 久久亚洲精品国产精品紫薇| 色综合久久99| 国精产品一区一区三区mba视频 | 日韩一区二区影院| 94-欧美-setu| 狠狠色丁香婷婷综合久久片| 亚洲自拍与偷拍| 国产精品沙发午睡系列990531| 欧美电影在线免费观看| 99vv1com这只有精品| 国产一区二区三区av电影| 亚洲va欧美va人人爽| 日韩一区在线免费观看| 久久蜜桃一区二区| 在线不卡a资源高清| 91免费国产视频网站| 国产成人精品亚洲777人妖| 日本少妇一区二区| 亚洲国产成人porn| 亚洲日本免费电影| 国产欧美精品一区二区色综合朱莉| 欧美老女人在线| 91日韩在线专区| 粉嫩av一区二区三区| 精品一区二区三区欧美| 石原莉奈在线亚洲二区| 亚洲线精品一区二区三区| 中文字幕一区二区三区四区不卡| 国产婷婷一区二区| 亚洲精品一线二线三线无人区| 91精品国产色综合久久不卡电影| 色美美综合视频| 一本在线高清不卡dvd| 99re这里只有精品首页| 成人免费看视频| 国产精品综合久久| 黄色日韩网站视频| 久久69国产一区二区蜜臀| 日本成人在线电影网| 日韩国产成人精品| 午夜视频一区二区三区| 亚洲最快最全在线视频| 一区二区三区中文字幕精品精品| 亚洲国产精品ⅴa在线观看| 国产拍欧美日韩视频二区| 国产日韩欧美精品一区| 久久免费视频色| 国产偷国产偷亚洲高清人白洁| 久久久青草青青国产亚洲免观| 久久先锋影音av鲁色资源网| 精品福利视频一区二区三区| 精品美女在线播放| 久久夜色精品国产欧美乱极品| 欧美精品一区二区三区在线| 精品播放一区二区| 精品久久久久久最新网址| 久久综合精品国产一区二区三区| 精品成人一区二区三区四区| 久久综合九色综合久久久精品综合| 亚洲国产精品久久艾草纯爱| 久久久久久久久蜜桃| 久久精品亚洲乱码伦伦中文| 中文字幕精品一区二区三区精品| 国产精品免费观看视频| 亚洲天堂久久久久久久| 亚洲综合久久久| 日韩电影在线观看网站| 国产制服丝袜一区| av毛片久久久久**hd| 欧美性生活久久| 欧美一区二区三区爱爱|