#include <message_loop_darwin.h>
Definition at line 18 of file message_loop_darwin.h.
◆ Run()
void fml::MessageLoopDarwin::Run |
( |
| ) |
|
|
overrideprivatevirtual |
Implements fml::MessageLoopImpl.
Definition at line 44 of file message_loop_darwin.mm.
44 {
46
47 running_ = true;
48
49 while (running_) {
50 @autoreleasepool {
52 if (
result == kCFRunLoopRunStopped ||
result == kCFRunLoopRunFinished) {
53
54
55 @autoreleasepool {
57 }
58 running_ = false;
59 }
60 }
61 }
62}
void RunExpiredTasksNow()
#define FML_DCHECK(condition)
static constexpr CFTimeInterval kDistantFuture
◆ Terminate()
void fml::MessageLoopDarwin::Terminate |
( |
| ) |
|
|
overrideprivatevirtual |
◆ WakeUp()
◆ ~MessageLoopDarwin()
fml::MessageLoopDarwin::~MessageLoopDarwin |
( |
| ) |
|
|
overrideprivate |
Definition at line 38 of file message_loop_darwin.mm.
38 {
39 CFRunLoopTimerInvalidate(delayed_wake_timer_);
40 CFRunLoopRemoveTimer(loop_, delayed_wake_timer_, kCFRunLoopCommonModes);
42}
static CFStringRef kMessageLoopCFRunLoopMode
◆ kMessageLoopCFRunLoopMode
CFStringRef fml::MessageLoopDarwin::kMessageLoopCFRunLoopMode = CFSTR("fmlMessageLoop") |
|
static |
The documentation for this class was generated from the following files: