OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:OneShotEvent
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/extensions/common/
one_shot_event.cc
18
struct
OneShotEvent
::TaskInfo {
33
OneShotEvent
::
OneShotEvent
() : signaled_(false) {
34
// It's acceptable to construct the
OneShotEvent
on one thread, but
38
OneShotEvent
::
OneShotEvent
(bool signaled) : signaled_(signaled) {
41
OneShotEvent
::~
OneShotEvent
() {}
43
void
OneShotEvent
::Post(const tracked_objects::Location& from_here,
49
void
OneShotEvent
::Post(const tracked_objects::Location& from_here
[
all
...]
one_shot_event.h
28
// allows clients to guarantee that code is run after the
OneShotEvent
29
// is signaled. If the
OneShotEvent
is destroyed before it's
36
class
OneShotEvent
{
38
OneShotEvent
();
43
explicit
OneShotEvent
(bool signaled);
44
~
OneShotEvent
();
61
// post. Inside |task|, if this
OneShotEvent
is still alive,
63
//
OneShotEvent
::Reset() doesn't exist).
74
// on a
OneShotEvent
to complete, so it's almost never safe to use
102
//
OneShotEvent
to clients that just want to run tasks through i
[
all
...]
Completed in 1290 milliseconds