pub unsafe extern "C" fn aws_mutex_lock(
    mutex: *mut aws_mutex
) -> c_int
Expand description

Blocks until it acquires the lock. While on some platforms such as Windows, this may behave as a reentrant mutex, you should not treat it like one. On platforms it is possible for it to be non-reentrant, it will be.