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

Function ReportPthreadTryLockError

system/check_error.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool ReportPthreadTryLockError(const char* function_name, int error)
47{
48 if (error == EBUSY || error == EAGAIN)
49 return false;
50 ReportErrnoError(function_name, error);
51 return false;
52}
53
54} // namespace toft

Callers 1

CheckPthreadTryLockErrorFunction · 0.85

Calls 1

ReportErrnoErrorFunction · 0.85

Tested by

no test coverage detected