Index: base/threading/platform_thread.h |
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h |
index 41e8291af98b357af6ea268d7627bff6ce861d98..4c2db8aba78a1f817288bce6b11c1f29b2397b5c 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|. |