RTEMS 6.1-rc1
Functions
semobtain.c File Reference

This source file contains the implementation of rtems_semaphore_obtain(). More...

#include <rtems/rtems/semimpl.h>
#include <rtems/rtems/optionsimpl.h>
#include <rtems/rtems/statusimpl.h>

Functions

 THREAD_QUEUE_OBJECT_ASSERT (Semaphore_Control, Core_control.Wait_queue, SEMAPHORE_CONTROL_GENERIC)
 
 THREAD_QUEUE_OBJECT_ASSERT (Semaphore_Control, Core_control.Mutex.Recursive.Mutex.Wait_queue, SEMAPHORE_CONTROL_MUTEX)
 
 THREAD_QUEUE_OBJECT_ASSERT (Semaphore_Control, Core_control.Semaphore.Wait_queue, SEMAPHORE_CONTROL_SEMAPHORE)
 
rtems_status_code rtems_semaphore_obtain (rtems_id id, rtems_option option_set, rtems_interval timeout)
 Obtains the semaphore. More...
 

Detailed Description

This source file contains the implementation of rtems_semaphore_obtain().