invalid use of tcb field resource count

This commit is contained in:
Joel Sherrill
1996-02-01 19:39:21 +00:00
parent b7a53bc7c9
commit 665356af66
2 changed files with 0 additions and 2 deletions

View File

@@ -135,7 +135,6 @@ void _CORE_semaphore_Seize(
_ISR_Disable( level );
if ( the_semaphore->count != 0 ) {
the_semaphore->count -= 1;
executing->resource_count++;
_ISR_Enable( level );
return;
}

View File

@@ -135,7 +135,6 @@ void _CORE_semaphore_Seize(
_ISR_Disable( level );
if ( the_semaphore->count != 0 ) {
the_semaphore->count -= 1;
executing->resource_count++;
_ISR_Enable( level );
return;
}