[rtems commit] sapi: Do not disable thread dispatching
Sebastian Huber
sebh at rtems.org
Wed Mar 16 06:17:28 UTC 2016
Module: rtems
Branch: master
Commit: 05ef28754ea2920133f24ce0d3c6e274408c3b75
Changeset: http://git.rtems.org/rtems/commit/?id=05ef28754ea2920133f24ce0d3c6e274408c3b75
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Mar 15 15:09:17 2016 +0100
sapi: Do not disable thread dispatching
Do not disable thread dispatching to add a user extension. After
startup, the object allocator lock is enough.
Update #2555.
---
cpukit/sapi/src/extensioncreate.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/cpukit/sapi/src/extensioncreate.c b/cpukit/sapi/src/extensioncreate.c
index 8442096..e3439b6 100644
--- a/cpukit/sapi/src/extensioncreate.c
+++ b/cpukit/sapi/src/extensioncreate.c
@@ -46,9 +46,7 @@ rtems_status_code rtems_extension_create(
return RTEMS_TOO_MANY;
}
- _Thread_Disable_dispatch();
_User_extensions_Add_set_with_table( &the_extension->Extension, extension_table );
- _Thread_Enable_dispatch();
_Objects_Open(
&_Extension_Information,
More information about the vc
mailing list