summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threaddelayended.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-11 14:56:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-19 12:00:48 +0200
commitaa05cfbb3d6309ec45b69f34d0870465fe30b74c (patch)
treee004fe884c7018b81bf430b095af350b66f86f6f /cpukit/score/src/threaddelayended.c
parentscore: Add static initializers for thread queues (diff)
downloadrtems-aa05cfbb3d6309ec45b69f34d0870465fe30b74c.tar.bz2
score: Replace _Thread_Delay_ended()
Use _Thread_Timeout() instead. Use pseudo thread queue for nanosleep() to deal with signals. Close #2130.
Diffstat (limited to 'cpukit/score/src/threaddelayended.c')
-rw-r--r--cpukit/score/src/threaddelayended.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/cpukit/score/src/threaddelayended.c b/cpukit/score/src/threaddelayended.c
deleted file mode 100644
index 95dae7d0fa..0000000000
--- a/cpukit/score/src/threaddelayended.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * @file
- *
- * @brief End the Delay of a Thread
- * @ingroup ScoreThread
- */
-
-/*
- * COPYRIGHT (c) 1989-2007.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/score/threadimpl.h>
-
-void _Thread_Delay_ended(
- Objects_Id id,
- void *arg
-)
-{
- Thread_Control *the_thread = arg;
-
- (void) id;
-
- _Thread_Clear_state(
- the_thread,
- STATES_DELAYING
- | STATES_WAITING_FOR_TIME
- | STATES_INTERRUPTIBLE_BY_SIGNAL
- );
-}