Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1157)

Unified Diff: webrtc/base/task_queue.h

Issue 2708723003: Introduce new constructor to PlatformThread. (Closed)
Patch Set: Disable RTC_DCHECK in channel_proxy + add TODO Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/sequenced_task_checker_unittest.cc ('k') | webrtc/base/task_queue_libevent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/task_queue.h
diff --git a/webrtc/base/task_queue.h b/webrtc/base/task_queue.h
index a6a70364ac4a19df27e28a2580efdeca6568f393..5fcf00fcd2ae850ae100cb64aba7b34746d684a5 100644
--- a/webrtc/base/task_queue.h
+++ b/webrtc/base/task_queue.h
@@ -232,7 +232,7 @@ class LOCKABLE TaskQueue {
private:
#if defined(WEBRTC_BUILD_LIBEVENT)
- static bool ThreadMain(void* context);
+ static void ThreadMain(void* context);
static void OnWakeup(int socket, short flags, void* context); // NOLINT
static void RunTask(int fd, short flags, void* context); // NOLINT
static void RunTimer(int fd, short flags, void* context); // NOLINT
@@ -263,7 +263,7 @@ class LOCKABLE TaskQueue {
class MultimediaTimer;
typedef std::unordered_map<UINT_PTR, std::unique_ptr<QueuedTask>>
DelayedTasks;
- static bool ThreadMain(void* context);
+ static void ThreadMain(void* context);
static bool ProcessQueuedMessages(DelayedTasks* delayed_tasks,
std::vector<MultimediaTimer>* timers);
« no previous file with comments | « webrtc/base/sequenced_task_checker_unittest.cc ('k') | webrtc/base/task_queue_libevent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698