summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/prioinherit.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
commit43ec94a665e13552402ff4f102e0f65f6792cf29 (patch)
tree05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/ostest/prioinherit.c
parent70b6bb22af51defd713adfd452309f32f0e523aa (diff)
downloadnuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip
More trailing whilespace removal
Diffstat (limited to 'apps/examples/ostest/prioinherit.c')
-rw-r--r--apps/examples/ostest/prioinherit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/ostest/prioinherit.c b/apps/examples/ostest/prioinherit.c
index cd04df7e6..5d0c9b763 100644
--- a/apps/examples/ostest/prioinherit.c
+++ b/apps/examples/ostest/prioinherit.c
@@ -115,7 +115,7 @@ static int nhighpri_waiting(void)
{
int n = 0;
int i;
-
+
for (i = 0; i < NHIGHPRI_THREADS; i++)
{
if (g_highstate[i] == WAITING)
@@ -134,7 +134,7 @@ static int nhighpri_running(void)
{
int n = 0;
int i;
-
+
for (i = 0; i < NHIGHPRI_THREADS; i++)
{
if (g_highstate[i] != DONE)
@@ -268,7 +268,7 @@ static void *lowpri_thread(void *parameter)
if (sparam.sched_priority != g_lowpri)
{
printf(" ERROR should have been %d\n", g_lowpri);
- }
+ }
}
g_lowstate[threadno-1] = WAITING;
@@ -378,14 +378,14 @@ static void *lowpri_thread(void *parameter)
if (sparam.sched_priority != g_lowpri)
{
printf(" ERROR should have been %d\n", g_lowpri);
- }
+ }
}
sem_enumholders(&g_sem);
printf("lowpri_thread-%d: Okay... I'm done!\n", threadno);
FFLUSH();
g_lowstate[threadno-1] = DONE;
- return retval;
+ return retval;
}
#endif /* CONFIG_PRIORITY_INHERITANCE && !CONFIG_DISABLE_SIGNALS && !CONFIG_DISABLE_PTHREAD */