Doc Thread requirement.
Fixes: 230893354 Test: N/A Change-Id: I426184840c7bf61fe3369388cfc6db184470acf0
This commit is contained in:
parent
aceda4728b
commit
90722d254e
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@ class Thread : virtual public RefBase
|
|||
{
|
||||
public:
|
||||
// Create a Thread object, but doesn't create or start the associated
|
||||
// thread. See the run() method.
|
||||
// thread. See the run() method. This object must be used with RefBase/sp,
|
||||
// like any other RefBase object, because they are conventionally promoted
|
||||
// from bare pointers (Thread::run is particularly problematic here).
|
||||
explicit Thread(bool canCallJava = true);
|
||||
virtual ~Thread();
|
||||
|
||||
|
|
Loading…
Reference in a new issue