MCPcopy Create free account
hub / github.com/Icinga/icinga2 / AcquireLock

Method AcquireLock

lib/base/workqueue.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48std::unique_lock<std::mutex> WorkQueue::AcquireLock()
49{
50 return std::unique_lock<std::mutex>(m_Mutex);
51}
52
53/**
54 * Enqueues a task. Tasks are guaranteed to be executed in the order

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected