Searched refs:ThreadAction (Results 1 – 1 of 1) sorted by relevance
112 enum class ThreadAction { Start, Stop }; enum115 int proc_fd, base::Thread* thread, ThreadAction action) { in ChangeThreadStateAndWatchProcFS()118 DCHECK(action == ThreadAction::Start || action == ThreadAction::Stop); in ChangeThreadStateAndWatchProcFS()123 if (action == ThreadAction::Start) { in ChangeThreadStateAndWatchProcFS()133 if (action == ThreadAction::Stop) { in ChangeThreadStateAndWatchProcFS()142 if (action == ThreadAction::Start) { in ChangeThreadStateAndWatchProcFS()151 DCHECK_EQ(action == ThreadAction::Start, in ChangeThreadStateAndWatchProcFS()186 return ChangeThreadStateAndWatchProcFS(proc_fd, thread, ThreadAction::Start); in StartThreadAndWatchProcFS()192 return ChangeThreadStateAndWatchProcFS(proc_fd, thread, ThreadAction::Stop); in StopThreadAndWatchProcFS()