Lines Matching refs:lock
89 std::unique_lock<std::mutex> sync_lock(lock);
128 std::unique_lock<std::mutex> sync_lock(lock);
160 std::unique_lock<std::mutex> sync_lock(lock);
207 std::unique_lock<std::mutex> sync_lock(lock);
248 std::unique_lock<std::mutex> sync_lock(lock);
272 std::lock_guard<std::mutex> sync_lock(lock);
283 std::lock_guard<std::mutex> sync_lock(lock);
386 * We hold the eventq lock at this point but the receiver thread may
387 * need the lock to schedule new recv events while waiting for the
503 curEventQueue()->lock();
519 // NOTE: we use the event queue lock to protect the receive desc queue,
540 // the event queue queue lock when this is called!
687 // Grab the eventq lock to stop the simulation thread
688 curEventQueue()->lock();
850 std::lock_guard<std::mutex> sync_lock(lock);