summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tc-signal-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/validation/tc-signal-send.c')
-rw-r--r--testsuites/validation/tc-signal-send.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/testsuites/validation/tc-signal-send.c b/testsuites/validation/tc-signal-send.c
index d884cdf230..aedcec5e47 100644
--- a/testsuites/validation/tc-signal-send.c
+++ b/testsuites/validation/tc-signal-send.c
@@ -3,11 +3,11 @@
/**
* @file
*
- * @ingroup RTEMSTestCaseRtemsSignalReqSend
+ * @ingroup RtemsSignalReqSend
*/
/*
- * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+ * Copyright (C) 2021 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -59,10 +59,10 @@
#include <rtems/test.h>
/**
- * @defgroup RTEMSTestCaseRtemsSignalReqSend spec:/rtems/signal/req/send
+ * @defgroup RtemsSignalReqSend spec:/rtems/signal/req/send
*
- * @ingroup RTEMSTestSuiteTestsuitesValidation0
- * @ingroup RTEMSTestSuiteTestsuitesValidation1
+ * @ingroup TestsuitesValidationNoClock0
+ * @ingroup TestsuitesValidationOneCpu0
*
* @{
*/
@@ -154,9 +154,9 @@ typedef struct {
rtems_signal_set processed_signal_sets[ 2 ];
- uintptr_t stack_pointers[ 2 ];;
+ uintptr_t stack_pointers[ 2 ];
- rtems_mode mode;;
+ rtems_mode mode;
rtems_status_code status;
@@ -723,8 +723,10 @@ static void RtemsSignalReqSend_Action( RtemsSignalReqSend_Context *ctx )
if ( ctx->id == ctx->worker_id ) {
SendEventsToWorker( ctx, EVENT_START );
+ StartDelayThreadDispatch( 1 );
ctx->status = rtems_signal_send( ctx->id, ctx->signal_set );
ctx->calls_after_send = ctx->handler_calls;
+ StopDelayThreadDispatch( 1 );
SendEventsToWorker( ctx, EVENT_SEND_DONE );
ctx->calls_after_dispatch = ctx->handler_calls;