summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-15 15:42:57 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-16 07:16:58 +0100
commit474b9beeaa5fd6153ffa8ffe10d09acdaa8609da (patch)
tree6bf8a6b6d45b8b10d954c8a4a5216ad8b9bbc79c /testsuites/sptests
parentsapi: Do not disable thread dispatching (diff)
downloadrtems-474b9beeaa5fd6153ffa8ffe10d09acdaa8609da.tar.bz2
score: Use allocator lock in _Objects_Get_next()
Use the object allocator lock in _Objects_Get_next() instead of disabled thread dispatching since object creation and deletion is covered by this lock. Update #2555.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/spobjgetnext/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/testsuites/sptests/spobjgetnext/init.c b/testsuites/sptests/spobjgetnext/init.c
index 924d65e6e8..c6b8de5a2d 100644
--- a/testsuites/sptests/spobjgetnext/init.c
+++ b/testsuites/sptests/spobjgetnext/init.c
@@ -54,8 +54,6 @@ int scan_objects(
break;
/* XXX check dispatch level with macros */
- _Thread_Enable_dispatch();
-
/* XXX should be able to check that next Id is not one we have seen */
}
return i;