MCPcopy Create free account
hub / github.com/defold/defold / dm_mbedtls_condition_init

Function dm_mbedtls_condition_init

engine/dlib/src/dlib/sslsocket_mbedtls.cpp:510–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510static int dm_mbedtls_condition_init(mbedtls_platform_condition_variable_t* condition_wrapper)
511{
512 condition_wrapper->condition = dmConditionVariable::New();
513 return condition_wrapper->condition ? 0 : MBEDTLS_ERR_THREADING_USAGE_ERROR;
514}
515
516static void dm_mbedtls_condition_free(mbedtls_platform_condition_variable_t* condition_wrapper)
517{

Callers

nothing calls this directly

Calls 1

NewFunction · 0.70

Tested by

no test coverage detected