Description

TryLock tries to lock the mutex. When the mutex is free at the time, the function locks the mutex and return true. Otherwise false will be returned. In the both cases, this function doens't block and return the result immediately.

TryLock is referenced in 1 repository

github.com/yudai/gotty