| Index: base/threading/platform_thread.h
|
| diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
|
| index 72da93bf56d4fc984c35c5f49ef2a69fd475be00..2cdfe7cb190df52504b2003efbcc3181d2ec1dfb 100644
|
| --- a/base/threading/platform_thread.h
|
| +++ b/base/threading/platform_thread.h
|
| @@ -180,6 +180,10 @@ class BASE_EXPORT PlatformThread {
|
| // |thread_handle|.
|
| static void Join(PlatformThreadHandle thread_handle);
|
|
|
| + // Detaches and releases the thread handle. The thread is no longer joinable
|
| + // and |thread_handle| is invalidated after this call.
|
| + static void Detach(PlatformThreadHandle thread_handle);
|
| +
|
| // Toggles the current thread's priority at runtime. A thread may not be able
|
| // to raise its priority back up after lowering it if the process does not
|
| // have a proper permission, e.g. CAP_SYS_NICE on Linux. A thread may not be
|
|
|