#ifndef REGTEST #include #include int mtx_unlock(mtx_t *mtx) { if(pthread_mutex_unlock(mtx) == 0) return thrd_success; return thrd_error; } #endif #ifdef TEST #include "_PDCLIB_test.h" int main( void ) { return TEST_RESULTS; } #endif