Chromium Base MessageLoop Internals (1)
class MessageLoop
Version: r70_3538
File: base/message_loop/message_loop.{h, cc}
A MessageLoop
is used to process events for a particular thread, i.e. the core infrastructure for implementing Communicating Sequential Process (CSP) model.
There is at most one MessageLoop instance on a thread.
MessageLoop
is a farily complex class, it driveds from multiple base classes:
1 | class BASE_EXPORT MessageLoop : public MessagePump::Delegate, |
MessageLoop Type
A MessageLoop has a particular type, differred by the set of asynchronous events it is capable of handling.