src/util/linux/events.c
int mcx_event_create(McxEvent * evnt)
{
    evnt->signalled = 0;
    if ( pthread_mutex_init(&evnt->mutex, NULL) || pthread_cond_init (&evnt->cond,  NULL) ) {
        mcx_log(LOG_ERROR, "Error creating event");
        return 1;
    }

    return 0;
}
// implementation of windows CreateEvent (auto reset) SetEvent and WaitForSingleObject (INFINITE)
implementation of windows CreateEvent (auto reset) SetEvent and WaitForSingleObject (INFINITE)
implementation of windows CreateEvent ( auto reset ) SetEvent and WaitForSingleObject ( INFINITE )
int mcx_event_create(McxEvent * evnt)
{
    evnt->signalled = 0;
    if ( pthread_mutex_init(&evnt->mutex, NULL) || pthread_cond_init (&evnt->cond,  NULL) ) {
        mcx_log(LOG_ERROR, "Error creating event");
        return 1;
    }
    return 0;
}
int mcx_event_create ( McxEvent * evnt ) { evnt -> signalled = 0 ; if ( pthread_mutex_init ( & evnt -> mutex , NULL ) || pthread_cond_init ( & evnt -> cond , NULL ) ) { mcx_log ( LOG_ERROR , " " ) ; return 1 ; } return 0 ; }
implementation of windows CreateEvent (auto reset) SetEvent and WaitForSingleObject (INFINITE)
implementation of windows CreateEvent ( auto reset ) SetEvent and WaitForSingleObject ( INFINITE )