diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-12 21:34:03 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-12 21:34:03 +0000 |
commit | 2a006f2a0c71c671157686f66fa80168f6ca6624 (patch) | |
tree | 8858129d90c80d90965c7672ecf0a3b1504e934d /base/message_pump_glib.h | |
parent | 121a9c519724c978ea179991bddcc5b5556e36eb (diff) | |
download | chromium_src-2a006f2a0c71c671157686f66fa80168f6ca6624.zip chromium_src-2a006f2a0c71c671157686f66fa80168f6ca6624.tar.gz chromium_src-2a006f2a0c71c671157686f66fa80168f6ca6624.tar.bz2 |
Drop the wakeup pipe completely and use the builtin glib wakeup.
Review URL: http://codereview.chromium.org/10848
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_glib.h')
-rw-r--r-- | base/message_pump_glib.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/base/message_pump_glib.h b/base/message_pump_glib.h index 26aec49..21a80df 100644 --- a/base/message_pump_glib.h +++ b/base/message_pump_glib.h @@ -48,19 +48,9 @@ class MessagePumpForUI : public MessagePump { // This is the time when we need to do delayed work. Time delayed_work_time_; - // We use a pipe to schedule work in a thread-safe way that doesn't interfere - // with our state. When ScheduleWork is called, we write into the pipe which - // ensures poll will not sleep, since we use the read end as an event source. - // When we find data pending on the pipe, we clear it out and know we have - // been given new work. - int write_fd_work_scheduled_; - int read_fd_work_scheduled_; - // The work source. It is shared by all calls to Run and destroyed when // the message pump is destroyed. GSource* work_source_; - // The GLib poll structure needs to be owned and freed by us. - scoped_ptr<GPollFD> work_source_poll_fd_; DISALLOW_COPY_AND_ASSIGN(MessagePumpForUI); }; |