예제 #1
0
void destroy_args( argument *arg )
{
    hthread_cond_destroy( arg->cond_notempty );
    hthread_cond_destroy( arg->cond_notfull );
    hthread_mutex_destroy( arg->mutex );

    free( arg->cond_notempty );
    free( arg->cond_notfull );
    free( arg->mutex );
    free( arg );
}
예제 #2
0
파일: hthreads.c 프로젝트: herrold/hyperion
/*-------------------------------------------------------------------*/
DLL_EXPORT int  hthread_destroy_condition( COND* plc, const char* location )
{
    int rc;
    UNREFERENCED( location );
    rc = hthread_cond_destroy( plc );
    return rc;
}