diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-10-10 16:44:14 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-10-11 15:52:51 -0500 |
commit | b8fa5013fd3d717936711981630b273228c3bf0d (patch) | |
tree | 5256b3359bca3f8ff2dd53b5c5c509fb15553d33 /cpukit/score/src/threadqextractwithproxy.c | |
parent | Use %zu instead of %lu to print size_t's. (diff) | |
download | rtems-b8fa5013fd3d717936711981630b273228c3bf0d.tar.bz2 |
threadqextractwithproxy.c: Doxygen header and spacing
Diffstat (limited to 'cpukit/score/src/threadqextractwithproxy.c')
-rw-r--r-- | cpukit/score/src/threadqextractwithproxy.c | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/cpukit/score/src/threadqextractwithproxy.c b/cpukit/score/src/threadqextractwithproxy.c index 6b17adb119..7c8b84ba46 100644 --- a/cpukit/score/src/threadqextractwithproxy.c +++ b/cpukit/score/src/threadqextractwithproxy.c @@ -1,8 +1,17 @@ -/* - * Thread Queue Handler - * +/** + * @brief _Thread_queue_Extract_with_proxy * - * COPYRIGHT (c) 1989-2008. + * This routine extracts the_thread from the_thread_queue + * and ensures that if there is a proxy for this task on + * another node, it is also dealt with. A proxy is a data + * data that is on the thread queue on the remote node and + * acts as a proxy for the local thread. If the local thread + * was waiting on a remote operation, then the remote side + * of the operation must be cleaned up. + */ + +/* + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -23,21 +32,11 @@ #include <rtems/score/threadq.h> #include <rtems/score/tqdata.h> -/* - * _Thread_queue_Extract_with_proxy - * - * This routine extracts the_thread from the_thread_queue - * and ensures that if there is a proxy for this task on - * another node, it is also dealt with. - * - * XXX - */ - bool _Thread_queue_Extract_with_proxy( Thread_Control *the_thread ) { - States_Control state; + States_Control state; state = the_thread->current_state; |