diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-06 15:20:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-06 15:20:53 +0000 |
commit | bd177b7bea172ec95e32c07adee8113a1791c34b (patch) | |
tree | bb352497502a0c8ca9f2d57fcf3ab6324b6d0389 | |
parent | changed version to 20000104 (diff) | |
download | rtems-bd177b7bea172ec95e32c07adee8113a1791c34b.tar.bz2 |
Fixed comment.
-rw-r--r-- | c/src/tests/sptests/sp29/init.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp29/init.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/tests/sptests/sp29/init.c b/c/src/tests/sptests/sp29/init.c index b8a0193ef2..bf866bd32e 100644 --- a/c/src/tests/sptests/sp29/init.c +++ b/c/src/tests/sptests/sp29/init.c @@ -145,8 +145,8 @@ rtems_task Init (rtems_task_argument ignored) printf ("%d: Can't obtain non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc)); } /* - * Since this task is holding this, there is no reason to block. - * It is obviously an error to reobtain it. + * Since this task is holding this, this task will block and timeout. + * Then the timeout error will be returned. */ rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then); sc = rtems_semaphore_obtain (semnorec, RTEMS_WAIT, 5); diff --git a/testsuites/sptests/sp29/init.c b/testsuites/sptests/sp29/init.c index b8a0193ef2..bf866bd32e 100644 --- a/testsuites/sptests/sp29/init.c +++ b/testsuites/sptests/sp29/init.c @@ -145,8 +145,8 @@ rtems_task Init (rtems_task_argument ignored) printf ("%d: Can't obtain non-recursive-lock semaphore: %s\n", __LINE__, rtems_status_text (sc)); } /* - * Since this task is holding this, there is no reason to block. - * It is obviously an error to reobtain it. + * Since this task is holding this, this task will block and timeout. + * Then the timeout error will be returned. */ rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &then); sc = rtems_semaphore_obtain (semnorec, RTEMS_WAIT, 5); |