diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-19 16:09:39 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-21 12:58:46 +0100 |
commit | 833dd903356eae776975fc8e43a96687430f2e64 (patch) | |
tree | 2af30f6f33c3315b5385a0afb1af63195793a4a5 /cpukit/score/src/rbtreeextract.c | |
parent | scheduler/EDF: Use unprotected insert and extract (diff) | |
download | rtems-833dd903356eae776975fc8e43a96687430f2e64.tar.bz2 |
score/rbtree: Delete protected operations
The user of the red-black tree container must now ensure that at most
one thread at once can access an instance.
Diffstat (limited to 'cpukit/score/src/rbtreeextract.c')
-rw-r--r-- | cpukit/score/src/rbtreeextract.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/cpukit/score/src/rbtreeextract.c b/cpukit/score/src/rbtreeextract.c index 0f38fbc325..8dafe3b72c 100644 --- a/cpukit/score/src/rbtreeextract.c +++ b/cpukit/score/src/rbtreeextract.c @@ -202,30 +202,3 @@ void _RBTree_Extract_unprotected( /* set root to black, if it exists */ if (the_rbtree->root) the_rbtree->root->color = RBT_BLACK; } - - -/* - * _RBTree_Extract - * - * This kernel routine deletes the given node from a rbtree. - * - * Input parameters: - * node - pointer to node in rbtree to be deleted - * - * Output parameters: NONE - * - * INTERRUPT LATENCY: - * only case - */ - -void _RBTree_Extract( - RBTree_Control *the_rbtree, - RBTree_Node *the_node -) -{ - ISR_Level level; - - _ISR_Disable( level ); - _RBTree_Extract_unprotected( the_rbtree, the_node ); - _ISR_Enable( level ); -} |