diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-02-01 19:39:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-02-01 19:39:21 +0000 |
commit | 665356af66b39224cc967146dcfe57eb9459e9d9 (patch) | |
tree | a62d1f3e640b31e83a6f8482609986e2e8ea60c7 | |
parent | b7a53bc7c9e540bda0726babc8faeb8be0cdda7e (diff) |
invalid use of tcb field resource count
-rw-r--r-- | c/src/exec/score/src/coresem.c | 1 | ||||
-rw-r--r-- | cpukit/score/src/coresem.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/c/src/exec/score/src/coresem.c b/c/src/exec/score/src/coresem.c index 5fc55b5359..0e55926304 100644 --- a/c/src/exec/score/src/coresem.c +++ b/c/src/exec/score/src/coresem.c @@ -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; } diff --git a/cpukit/score/src/coresem.c b/cpukit/score/src/coresem.c index 5fc55b5359..0e55926304 100644 --- a/cpukit/score/src/coresem.c +++ b/cpukit/score/src/coresem.c @@ -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; } |