MCPcopy Create free account
hub / github.com/chen3feng/toft / CheckPthreadTryLockError

Function CheckPthreadTryLockError

system/check_error.h:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43bool ReportPthreadTryLockError(const char* function_name, int error);
44inline bool CheckPthreadTryLockError(const char* function_name, int error)
45{
46 if (error)
47 return ReportPthreadTryLockError(function_name, error);
48 return true;
49}
50
51} // namespace toft
52

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected