Home | History | Annotate | Download | only in message_loop

Lines Matching refs:pump

40 // On each iteration of the GLib pump, it calls each source's Prepare function.
80 // For the GLib pump we try to follow the Windows UI pump model:
88 MessagePumpGlib* pump;
93 *timeout_ms = static_cast<WorkSource*>(source)->pump->HandlePrepare();
102 return static_cast<WorkSource*>(source)->pump->HandleCheck();
109 static_cast<WorkSource*>(source)->pump->HandleDispatch();
123 // thread. X only has one message pump so we can only have one UI loop per
127 // Tracks the pump the most recent pump that has been run.
129 // The pump.
130 MessagePumpGlib* pump;
132 // ID of the thread the pump was run on.
143 void CheckThread(MessagePumpGlib* pump) {
147 thread_info->pump = pump;
155 void PumpDestroyed(MessagePumpGlib* pump) {
157 if (thread_info && thread_info->pump == pump) {
176 // This keeps the state of whether the pump got signaled that there was new
198 static_cast<WorkSource*>(work_source_)->pump = this;
220 // the pump block so that we can do some processing.
297 // will mean that we don't block on the message pump until there was nothing