mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
Fix bug in prio inheritance test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2951 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1281,3 +1281,6 @@
|
|||||||
(see email thread: http://tech.groups.yahoo.com/group/nuttx/message/530)
|
(see email thread: http://tech.groups.yahoo.com/group/nuttx/message/530)
|
||||||
* drivers/mtd/at45db.c - Add a driver for the Atmel AT45DB161D 4Mbit
|
* drivers/mtd/at45db.c - Add a driver for the Atmel AT45DB161D 4Mbit
|
||||||
SPI FLASH part (untested on initial check-in).
|
SPI FLASH part (untested on initial check-in).
|
||||||
|
* examples/ostest/prioinherit.c - Need to reinitialize globals if
|
||||||
|
test is ran repeatedly in a loop.
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<tr align="center" bgcolor="#e4e4e4">
|
<tr align="center" bgcolor="#e4e4e4">
|
||||||
<td>
|
<td>
|
||||||
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
||||||
<p>Last Updated: September 11, 2010</p>
|
<p>Last Updated: September 28, 2010</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -1976,6 +1976,8 @@ nuttx-5.11 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
|||||||
(see email thread: http://tech.groups.yahoo.com/group/nuttx/message/530)
|
(see email thread: http://tech.groups.yahoo.com/group/nuttx/message/530)
|
||||||
* drivers/mtd/at45db.c - Add a driver for the Atmel AT45DB161D 4Mbit
|
* drivers/mtd/at45db.c - Add a driver for the Atmel AT45DB161D 4Mbit
|
||||||
SPI FLASH part (untested on initial check-in).
|
SPI FLASH part (untested on initial check-in).
|
||||||
|
* examples/ostest/prioinherit.c - Need to reinitialize globals if
|
||||||
|
test is ran repeatedly in a loop.
|
||||||
|
|
||||||
pascal-2.1 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
pascal-2.1 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
|
||||||
|
|||||||
@@ -394,6 +394,10 @@ void priority_inheritance(void)
|
|||||||
|
|
||||||
printf("priority_inheritance: Started\n");
|
printf("priority_inheritance: Started\n");
|
||||||
|
|
||||||
|
g_middlestate = NOTSTARTED;
|
||||||
|
for (i = 0; i < NHIGHPRI_THREADS; i++) g_highstate[i] = NOTSTARTED;
|
||||||
|
for (i = 0; i < NLOWPRI_THREADS; i++) g_lowstate[i] = NOTSTARTED;
|
||||||
|
|
||||||
status = sched_getparam (getpid(), &sparam);
|
status = sched_getparam (getpid(), &sparam);
|
||||||
if (status != 0)
|
if (status != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user