OSDN Git Service

Missed use of android_atomic and thread state_.
authorIan Rogers <irogers@google.com>
Thu, 10 Jul 2014 05:02:36 +0000 (22:02 -0700)
committerIan Rogers <irogers@google.com>
Thu, 10 Jul 2014 06:46:42 +0000 (23:46 -0700)
commit8c1b5f71a8005743756206120624121d7678381f
tree8cc8f170ac94ca2018d2e6e3e24eeeb3ee7f97f3
parent070dfc4cebb9772a646382be9751d8f4c6b7d69a
Missed use of android_atomic and thread state_.

Move to using art::Atomic, add necessary FetchAnd... operations to art::Atomic.

Change-Id: I32f1cdc4e0a2037b73f459bf4bb4d544f357f41b
runtime/atomic.h
runtime/thread.cc
runtime/thread.h