summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-06 21:03:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-06 21:03:05 +0000
commit147c5d512f0388db011ba77c40cc8113dfad1814 (patch)
tree03f2820fbd5566f8f86694bb653e6decbe2ee44b /testsuites/psxtests
parent2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-147c5d512f0388db011ba77c40cc8113dfad1814.tar.bz2
2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal01/init.c: Tune code to really hit POSIX signal from ISR code.
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r--testsuites/psxtests/ChangeLog5
-rw-r--r--testsuites/psxtests/psxsignal01/init.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog
index 0da35952f3..94cd5c9091 100644
--- a/testsuites/psxtests/ChangeLog
+++ b/testsuites/psxtests/ChangeLog
@@ -1,5 +1,10 @@
2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
+ * psxsignal01/init.c: Tune code to really hit POSIX signal from ISR
+ code.
+
+2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
+
* psx07/init.c: Slight test fix to ensure state of sched_param
structure.
diff --git a/testsuites/psxtests/psxsignal01/init.c b/testsuites/psxtests/psxsignal01/init.c
index 580acd92aa..c7e10303f0 100644
--- a/testsuites/psxtests/psxsignal01/init.c
+++ b/testsuites/psxtests/psxsignal01/init.c
@@ -72,8 +72,8 @@ rtems_timer_service_routine Signal_duringISR_TSR(
void *ignored_address
)
{
- int status;
- status = kill( getpid(), SIGUSR1 );
+ int status;
+ status = pthread_kill( pthread_self(), SIGUSR1 );
}