score: Fix thread queue race condition

On uni-processor configurations the change of the thread blocking state
in _Thread_queue_Requeue_priority() did no harm and was simply useless.
However on SMP configurations this resulted in invalid state changes
leading to a wrong resource ownership.
This commit is contained in:
Sebastian Huber
2015-04-09 13:54:17 +02:00
parent 1461aba8da
commit 41814fa648

View File

@@ -92,7 +92,6 @@ static void _Thread_queue_Requeue_priority(
{
Thread_queue_Control *tq = context;
_Thread_queue_Enter_critical_section( tq );
_RBTree_Extract( &tq->Queues.Priority, &the_thread->RBNode );
_RBTree_Insert(
&tq->Queues.Priority,