lwip::lock_guard class

A lock_guard implements locking of a mutex following the RAII pattern. The lock is aquired on construction of the lock_guard and released when the lock_guard is destructed.

Constructors, destructors, conversion operators

lock_guard(lock_guard&& other)

Public functions

void operator=(lock_guard&& other)

Function documentation

lwip::lock_guard::lock_guard(lock_guard&& other)

Move constructor takes the lock from another lock_guard.

void lwip::lock_guard::operator=(lock_guard&& other)

Move assignment operator takes the lock from another lock_guard.