Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 3 of 3) sorted by relevance

/Kernel-v11.1.0/portable/ThirdParty/GCC/Posix/utils/
Dwait_for_event.c44 struct event * ev = malloc( sizeof( struct event ) ); in event_create() local
46 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() argument
54 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 …]
Dwait_for_event.h39 bool event_wait( struct event * ev );
40 bool event_wait_timed( struct event * ev,
42 void event_signal( struct event * ev );
/Kernel-v11.1.0/portable/ThirdParty/GCC/Posix/
Dport.c89 struct event * ev; member
195 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()