summaryrefslogtreecommitdiffstats
path: root/libutils/include/utils/Thread.h
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-12-18 16:14:13 -0800
committerSteven Moreland <smoreland@google.com>2017-12-19 01:16:00 +0000
commitb8f152d3e2b9368717743ebcb1277239a6c00659 (patch)
tree319fd727c6ab13792dc3f8c0b0fe901888f85de5 /libutils/include/utils/Thread.h
parent3fca67514a0634f1645db5d0a1030e42d061bf69 (diff)
downloadsystem_core-b8f152d3e2b9368717743ebcb1277239a6c00659.tar.gz
system_core-b8f152d3e2b9368717743ebcb1277239a6c00659.tar.bz2
system_core-b8f152d3e2b9368717743ebcb1277239a6c00659.zip
Usage suggestions.
Providing alternative suggestions for using C++ stdlib types instead of libutils types: - higher interoperability - fewer "legacy" quirks - ability to use stl algorithms - high optimization levels Test: none Change-Id: If81aa9982ca0ad229fa13c8142387906981b054d
Diffstat (limited to 'libutils/include/utils/Thread.h')
-rw-r--r--libutils/include/utils/Thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/include/utils/Thread.h b/libutils/include/utils/Thread.h
index a261fc8d9..598298de5 100644
--- a/libutils/include/utils/Thread.h
+++ b/libutils/include/utils/Thread.h
@@ -36,6 +36,8 @@
namespace android {
// ---------------------------------------------------------------------------
+// DO NOT USE: please use std::thread
+
class Thread : virtual public RefBase
{
public: