Why do we have these two functions with similar names and commented to
have the same functionality? If one is for SMP and the other for UP,
should they be unified or is there a good reason to have separate
functions?

On Fri, Apr 24, 2015 at 2:42 AM, Sebastian Huber <s...@rtems.org> wrote:
> Module:    rtems
> Branch:    master
> Commit:    d83127e9bd39c1a8c7ef51aa4d9034b06a2bd115
> Changeset: 
> http://git.rtems.org/rtems/commit/?id=d83127e9bd39c1a8c7ef51aa4d9034b06a2bd115
>
> Author:    Sebastian Huber <sebastian.hu...@embedded-brains.de>
> Date:      Fri Apr 24 08:36:33 2015 +0200
>
> posix: Use right thread dispatch disable function
>
> ---
>
>  cpukit/posix/src/mutexlocksupp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/posix/src/mutexlocksupp.c 
> b/cpukit/posix/src/mutexlocksupp.c
> index 92c6556..9b20f58 100644
> --- a/cpukit/posix/src/mutexlocksupp.c
> +++ b/cpukit/posix/src/mutexlocksupp.c
> @@ -55,7 +55,7 @@ int _POSIX_Mutex_Lock_support(
>
>      case OBJECTS_LOCAL:
>  #if defined(RTEMS_SMP)
> -      _Thread_Dispatch_disable();
> +      _Thread_Disable_dispatch();
>  #endif
>        executing = _Thread_Executing;
>        _CORE_mutex_Seize(
>
> _______________________________________________
> vc mailing list
> v...@rtems.org
> http://lists.rtems.org/mailman/listinfo/vc
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to