summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spatomic01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-31 13:30:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-01 16:45:46 +0200
commit9bf74673f928788b0ea4addabf045b94844d40ff (patch)
tree495ca384343769feefd96f88061ccc5ed5f192bb /testsuites/sptests/spatomic01
parentscore: Move nanoseconds since last tick support (diff)
downloadrtems-9bf74673f928788b0ea4addabf045b94844d40ff.tar.bz2
score: Use an ISR lock for TOD
Two issues are addressed. 1. On single processor configurations the set/get of the now/uptime timestamps is now consistently protected by ISR disable/enable sequences. Previously nested interrupts could observe partially written values since 64-bit writes are not atomic on 32-bit architectures in general. This could lead to non-monotonic uptime timestamps. 2. The TOD now/uptime maintanence is now independent of the giant lock. This is the first step to remove the giant lock in _Thread_Dispatch().
Diffstat (limited to 'testsuites/sptests/spatomic01')
0 files changed, 0 insertions, 0 deletions