Loading libs/binder/ProcessState.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ #include <binder/IPCThreadState.h> #include <binder/IServiceManager.h> #include <binder/Stability.h> #include <cutils/atomic.h> #include <utils/AndroidThreads.h> #include <utils/String8.h> #include <utils/Thread.h> Loading Loading @@ -387,7 +386,7 @@ void ProcessState::expungeHandle(int32_t handle, IBinder* binder) } String8 ProcessState::makeBinderThreadName() { int32_t s = android_atomic_add(1, &mThreadPoolSeq); int32_t s = mThreadPoolSeq.fetch_add(1, std::memory_order_release); pid_t pid = getpid(); std::string_view driverName = mDriverName.c_str(); Loading libs/binder/include/binder/ProcessState.h +1 −1 Original line number Diff line number Diff line Loading @@ -189,7 +189,7 @@ private: bool mForked; std::atomic_bool mThreadPoolStarted; volatile int32_t mThreadPoolSeq; std::atomic_int32_t mThreadPoolSeq; CallRestriction mCallRestriction; }; Loading Loading
libs/binder/ProcessState.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ #include <binder/IPCThreadState.h> #include <binder/IServiceManager.h> #include <binder/Stability.h> #include <cutils/atomic.h> #include <utils/AndroidThreads.h> #include <utils/String8.h> #include <utils/Thread.h> Loading Loading @@ -387,7 +386,7 @@ void ProcessState::expungeHandle(int32_t handle, IBinder* binder) } String8 ProcessState::makeBinderThreadName() { int32_t s = android_atomic_add(1, &mThreadPoolSeq); int32_t s = mThreadPoolSeq.fetch_add(1, std::memory_order_release); pid_t pid = getpid(); std::string_view driverName = mDriverName.c_str(); Loading
libs/binder/include/binder/ProcessState.h +1 −1 Original line number Diff line number Diff line Loading @@ -189,7 +189,7 @@ private: bool mForked; std::atomic_bool mThreadPoolStarted; volatile int32_t mThreadPoolSeq; std::atomic_int32_t mThreadPoolSeq; CallRestriction mCallRestriction; }; Loading