summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-23 11:52:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-26 10:22:18 +0200
commit2077ae4cc8e0a16f4cb117b88a0cf9b463c7980e (patch)
tree025efe3c0a30991a7e26f361ee8d1d6b7e7aed91 /cpukit/score/include
parentlibblock: PR2040: Avoid NULL pointer access (diff)
downloadrtems-2077ae4cc8e0a16f4cb117b88a0cf9b463c7980e.tar.bz2
score: PR2140: _Thread_queue_Extract()
Return if the executing context performed the extract operation since interrupts may interfere.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/threadq.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h
index 357bbf713c..4ce1fedb3d 100644
--- a/cpukit/score/include/rtems/score/threadq.h
+++ b/cpukit/score/include/rtems/score/threadq.h
@@ -113,7 +113,7 @@ void _Thread_queue_Requeue(
* This routine removes the_thread from the_thread_queue
* and cancels any timeouts associated with this blocking.
*/
-void _Thread_queue_Extract(
+bool _Thread_queue_Extract(
Thread_queue_Control *the_thread_queue,
Thread_Control *the_thread
);
@@ -189,7 +189,7 @@ Thread_blocking_operation_States _Thread_queue_Enqueue_priority (
* This routine removes the_thread from the_thread_queue
* and cancels any timeouts associated with this blocking.
*/
-void _Thread_queue_Extract_priority_helper(
+bool _Thread_queue_Extract_priority_helper(
Thread_queue_Control *the_thread_queue,
Thread_Control *the_thread,
bool requeuing
@@ -242,7 +242,7 @@ Thread_blocking_operation_States _Thread_queue_Enqueue_fifo (
* This routine removes the_thread from the_thread_queue
* and cancels any timeouts associated with this blocking.
*/
-void _Thread_queue_Extract_fifo(
+bool _Thread_queue_Extract_fifo(
Thread_queue_Control *the_thread_queue,
Thread_Control *the_thread
);