| Index: base/threading/platform_thread.h
|
| diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
|
| index 9b217a9c656d791a9cfc5862424aa7c5e6f789d8..d51b65a7a40dc30fa0405106fd565aa53105cd58 100644
|
| --- a/base/threading/platform_thread.h
|
| +++ b/base/threading/platform_thread.h
|
| @@ -175,6 +175,12 @@ class BASE_EXPORT PlatformThread {
|
| // PlatformThreadHandle.
|
| static bool CreateNonJoinable(size_t stack_size, Delegate* delegate);
|
|
|
| + // CreateNonJoinableWithPriority() does the same thing as CreateNonJoinable()
|
| + // except the priority of the thread is set based on |priority|.
|
| + static bool CreateNonJoinableWithPriority(size_t stack_size,
|
| + Delegate* delegate,
|
| + ThreadPriority priority);
|
| +
|
| // Joins with a thread created via the Create function. This function blocks
|
| // the caller until the designated thread exits. This will invalidate
|
| // |thread_handle|.
|
|
|