Changeset 6f1118a in rtems for c/src/exec/score/src/coremutex.c

Timestamp:
08/30/01 18:32:12 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
b68cc333
Parents:
ca739de3
Message:

2001-08-30 Joel Sherrill <joel@…>

  • 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.