Function lock

Synopsis

#include <src/uvw/thread.h>

void lock() noexcept

Description

Locks the mutex.

Source

Lines 87-89 in src/uvw/thread.cpp. Line 195 in src/uvw/thread.h.

UVW_INLINE void Mutex::lock() noexcept {
    uv_mutex_lock(get());
}





Add Discussion as Guest

Log in