#include <lockers.h>
Definition at line 260 of file lockers.h.
◆ SafepointMonitorLocker()
dart::SafepointMonitorLocker::SafepointMonitorLocker |
( |
Monitor * |
monitor | ) |
|
|
inlineexplicit |
Definition at line 262 of file lockers.h.
262 : monitor_(monitor) {
263 AcquireLock();
264 }
◆ ~SafepointMonitorLocker()
virtual dart::SafepointMonitorLocker::~SafepointMonitorLocker |
( |
| ) |
|
|
inlinevirtual |
◆ NotifyAll()
void dart::SafepointMonitorLocker::NotifyAll |
( |
| ) |
|
|
inline |
Definition at line 269 of file lockers.h.
269{ monitor_->NotifyAll(); }
◆ Wait()
Definition at line 77 of file lockers.cc.
77 {
79 if (thread != nullptr) {
81 {
82 TransitionVMToBlocked transition(thread);
83 result = monitor_->Wait(millis);
84 }
86 } else {
87 return monitor_->Wait(millis);
88 }
89}
static Thread * Current()
◆ SafepointMonitorUnlockScope
The documentation for this class was generated from the following files: