summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsignal01
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/psxsignal01
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/psxsignal01')
-rw-r--r--testsuites/psxtests/psxsignal01/init.c4
1 files changed, 2 insertions, 2 deletions
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 );
}