Searched refs:ev (Results 1 – 3 of 3) sorted by relevance
44 struct event * ev = malloc( sizeof( struct event ) ); in event_create() local46 ev->event_triggered = false; in event_create()47 pthread_mutex_init( &ev->mutex, NULL ); in event_create()48 pthread_cond_init( &ev->cond, NULL ); in event_create()49 return ev; in event_create()52 void event_delete( struct event * ev ) in event_delete() argument54 pthread_mutex_destroy( &ev->mutex ); in event_delete()55 pthread_cond_destroy( &ev->cond ); in event_delete()56 free( ev ); in event_delete()59 bool event_wait( struct event * ev ) in event_wait() argument[all …]
39 bool event_wait( struct event * ev );40 bool event_wait_timed( struct event * ev,42 void event_signal( struct event * ev );
89 struct event * ev; member195 thread->ev = event_create(); in pxPortInitialiseStack()291 event_wait( pxCurrentThread->ev ); in vPortEndScheduler()479 event_signal( pxThreadToCancel->ev ); in vPortCancelThread()481 event_delete( pxThreadToCancel->ev ); in vPortCancelThread()557 event_wait( thread->ev ); in prvSuspendSelf()567 event_signal( xThreadId->ev ); in prvResumeThread()