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

Function CheckPthreadTimedError

system/check_error.h:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35bool ReportPthreadTimedError(const char* function_name, int error);
36inline bool CheckPthreadTimedError(const char* function_name, int error)
37{
38 if (error)
39 return ReportPthreadTimedError(function_name, error);
40 return true;
41}
42
43bool ReportPthreadTryLockError(const char* function_name, int error);
44inline bool CheckPthreadTryLockError(const char* function_name, int error)

Callers

nothing calls this directly

Calls 1

ReportPthreadTimedErrorFunction · 0.85

Tested by

no test coverage detected