Changeset 258ad71 in rtems for c/src/lib/libcpu

Timestamp:
09/25/15 12:34:24 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
f91fbbf4
Parents:
aee6a1d0
git-author:
Sebastian Huber <sebastian.huber@…> (09/25/15 12:34:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/28/15 11:56:57)
Message:

SMP: Fix and optimize thread dispatching

According to the C11 and C++11 memory models only a read-modify-write
operation guarantees that we read the last value written in modification
order. Avoid the sequential consistent thread fence and instead use the
inter-processor interrupt to set the thread dispatch necessary
indicator.

(No files)

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