OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PortLocker
(Results
1 - 2
of
2
) sorted by null
/external/libchrome/mojo/core/ports/
port_locker.cc
22
void UpdateTLS(
PortLocker
* old_locker,
PortLocker
* new_locker) {
24
//
PortLocker
extant on the current thread.
25
static auto* tls = new base::ThreadLocalPointer<
PortLocker
>();
33
PortLocker
::
PortLocker
(const PortRef** port_refs, size_t num_ports)
50
PortLocker
::~
PortLocker
() {
61
void
PortLocker
::AssertNoPortsLockedOnCurrentThread() {
62
// Forces a DCHECK if the TLS
PortLocker
is anything other than null
[
all
...]
port_locker.h
26
class
PortLocker
{
28
// Constructs a
PortLocker
over a sequence of |num_ports| contiguous
31
PortLocker
(const PortRef** port_refs, size_t num_ports);
32
~
PortLocker
();
36
// |port_ref|, but it does force callers to go through a
PortLocker
to get to
42
// lock is held by this
PortLocker
.
64
DISALLOW_COPY_AND_ASSIGN(
PortLocker
);
67
// Convenience wrapper for a
PortLocker
that locks a single port.
77
PortLocker
locker_;
Completed in 103 milliseconds