OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ScopedAllowIO
(Results
1 - 2
of
2
) sorted by null
/external/chromium/base/threading/
thread_restrictions.h
41
// Constructing a
ScopedAllowIO
temporarily allows IO for the current
43
class BASE_API
ScopedAllowIO
{
45
ScopedAllowIO
() { previous_value_ = SetIOAllowed(true); }
46
~
ScopedAllowIO
() { SetIOAllowed(previous_value_); }
48
// Whether IO is allowed when the
ScopedAllowIO
was constructed.
51
DISALLOW_COPY_AND_ASSIGN(
ScopedAllowIO
);
/external/chromium_org/base/threading/
thread_restrictions.h
112
// Constructing a
ScopedAllowIO
temporarily allows IO for the current
114
class BASE_EXPORT
ScopedAllowIO
{
116
ScopedAllowIO
() { previous_value_ = SetIOAllowed(true); }
117
~
ScopedAllowIO
() { SetIOAllowed(previous_value_); }
119
// Whether IO is allowed when the
ScopedAllowIO
was constructed.
122
DISALLOW_COPY_AND_ASSIGN(
ScopedAllowIO
);
Completed in 37 milliseconds