• Home
  • Raw
  • Download

Lines Matching full:thread

7 // You should instead be using a message-loop driven Thread, see thread.h.
35 // Used for thread checking and debugging.
38 // check if we are on the same thread or not by using ==. These are safe
41 // after a thread dies, so a PlatformThreadRef cannot be reliably used
42 // to distinguish a new thread from an old, dead thread.
100 // Valid values for priority of Thread::Options and SimpleThread::Options, and
113 // A namespace for low-level thread functions.
116 // Implement this interface to run code on a background thread. Your
117 // ThreadMain method will be called on the newly created thread.
126 // Gets the current thread id, which may be useful for logging purposes.
129 // Gets the current thread reference, which can be used to check if
130 // we're on the right thread quickly.
133 // Get the handle representing the current thread. On Windows, this is a
134 // pseudo handle constant which will always represent the thread using it and
136 // the current thread from another.
139 // Yield the current thread so another thread can be scheduled.
145 // Sets the thread name visible to debuggers/tools. This will try to
146 // initialize the context for current thread unless it's a WorkerThread.
149 // Gets the thread name, if previously set by SetName.
152 // Creates a new thread. The |stack_size| parameter can be 0 to indicate
154 // |*thread_handle| will be assigned a handle to the newly created thread,
156 // thread.
157 // NOTE: When you are done with the thread handle, you must call Join to
158 // release system resources associated with the thread. You must ensure that
159 // the Delegate object outlives the thread.
168 // the thread is set based on |priority|.
173 // CreateNonJoinable() does the same thing as Create() except the thread
178 // Joins with a thread created via the Create function. This function blocks
179 // the caller until the designated thread exits. This will invalidate
183 // Detaches and releases the thread handle. The thread is no longer joinable
187 // Toggles the current thread's priority at runtime. A thread may not be able
189 // have a proper permission, e.g. CAP_SYS_NICE on Linux. A thread may not be
192 // security, this interface is restricted to change only the current thread