Changeset a0ec14c in rtems for cpukit/score/src

Timestamp:
08/10/21 14:28:24 (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0a69ce0f
Parents:
a5aaf20
git-author:
Sebastian Huber <sebastian.huber@…> (08/10/21 14:28:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/12/21 19:00:05)
Message:

score: Replace the single use of a sequence lock

In SMP configurations, on 64-bit architectures use plain atomic
operations to set/get the priority value of a scheduler node. On 32-bit
architectures use an ISR lock. Using a sequence lock has no real
benefit since it uses atomic read-modify-write operations for both the
read and the write lock. Simply use a ticket lock instead so that only
one SMP synchronization primitive is used for everything.

(No files)

Note: See TracChangeset for help on using the changeset viewer.