src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c:
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@…> 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.
(No files)
Note: See TracChangeset
for help on using the changeset viewer.