[PATCH 37/45] psxualarm: Avoid endless signal handling
Gedare Bloom
gedare at gwu.edu
Sun May 17 02:23:56 UTC 2015
On Fri, May 15, 2015 at 7:41 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> Increase the ualarm timer interval to avoid endless signal handling.
> ---
> testsuites/psxtests/psxualarm/init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testsuites/psxtests/psxualarm/init.c b/testsuites/psxtests/psxualarm/init.c
> index 03e03b9..0526c23 100644
> --- a/testsuites/psxtests/psxualarm/init.c
> +++ b/testsuites/psxtests/psxualarm/init.c
> @@ -88,7 +88,7 @@ void *POSIX_Init(
> sigaction( SIGALRM, &act, NULL );
> puts( "Init: ualarm in 1 us" );
Change print message to correspond
> sleep(3);
> - result = ualarm(1,0);
> + result = ualarm(100000,0);
> rtems_test_assert( result == 0 );
>
> status = sleep(10);
> --
> 1.8.4.5
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list