[PATCH 4/8] mpci: Fix thread proxies

Joel Sherrill joel at rtems.org
Thu Mar 24 15:02:03 UTC 2016


The comment is rather weak

On Thu, Mar 24, 2016 at 9:57 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> ---
>  cpukit/sapi/include/confdefs.h    |  4 +++-
>  cpukit/score/src/threadmp.c       | 40
> +++++++++++++++++++++++++++++++++------
>  cpukit/score/src/threadqenqueue.c | 11 ++++++-----
>  3 files changed, 43 insertions(+), 12 deletions(-)
>
>
> @@ -74,7 +96,13 @@ Thread_Control *_Thread_MP_Allocate_proxy (
>
>      the_proxy->current_state = _States_Set( STATES_DORMANT, the_state );
>
> -    the_proxy->Wait = _Thread_Executing->Wait;
> +    the_proxy->Wait.id                      = executing->Wait.id;
> +    the_proxy->Wait.count                   = executing->Wait.count;
> +    the_proxy->Wait.return_argument         =
> executing->Wait.return_argument;
> +    the_proxy->Wait.return_argument_second  =
> executing->Wait.return_argument_second;
> +    the_proxy->Wait.option                  = executing->Wait.option;
> +    the_proxy->Wait.return_code             = executing->Wait.return_code;
> +    the_proxy->Wait.timeout_code            =
> executing->Wait.timeout_code;
>
>      _Chain_Append( &_Thread_MP_Active_proxies, &the_proxy->Active );
>
> Does this really not line up or is it just the email client?

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160324/90d3b3d0/attachment.html>


More information about the devel mailing list