summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/ChangeLog
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-30 18:33:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-30 18:33:57 +0000
commitfb1d8f81a0e38540fb470da89d044dd28b0134ad (patch)
treecaa751896d100e3e7eaf54fa4edfe18bb8454daf /c/src/exec/score/ChangeLog
parent2001-08-30 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-fb1d8f81a0e38540fb470da89d044dd28b0134ad.tar.bz2
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c, inline/rtems/score/coremutex.inl: The per thread field resource_count should only be manipulated when a mutex is priority ceiling or priority inherit. This was reported by Chris Johns <ccj@acm.org> who also noticed that the use of switches for all disciplines generated less efficient code than using explicit tests for the one or two cases we were really interested in. Further review of his modifications made it apparent that the "isa" methods to test mutex discipline were not being used so this modification was swept into the code as well.
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/c/src/exec/score/ChangeLog b/c/src/exec/score/ChangeLog
index 08d486a6d6..f12205258e 100644
--- a/c/src/exec/score/ChangeLog
+++ b/c/src/exec/score/ChangeLog
@@ -1,6 +1,19 @@
2001-08-30 Joel Sherrill <joel@OARcorp.com>
+ * src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c,
+ inline/rtems/score/coremutex.inl: The per thread field resource_count
+ should only be manipulated when a mutex is priority ceiling or
+ priority inherit. This was reported by Chris Johns <ccj@acm.org>
+ who also noticed that the use of switches for all disciplines
+ generated less efficient code than using explicit tests for the one
+ or two cases we were really interested in. Further review of his
+ modifications made it apparent that the "isa" methods to test mutex
+ discipline were not being used so this modification was swept into
+ the code as well.
+
+2001-08-30 Joel Sherrill <joel@OARcorp.com>
+
* src/coremutexseize.c: Add missing code for proper handling
of nesting acquisitions. This only impacts building with
inlines disabled on the source with the "fast mutex" optimizations.