RTEMS: Add semaphore <sys/lock.h> functions

Declare semaphore try wait and post binary functions.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber 2017-11-28 08:00:33 +01:00
parent 5a2ab9d55e
commit dadc9e7e4a
1 changed files with 4 additions and 0 deletions

View File

@ -300,8 +300,12 @@ int _Semaphore_Wait_timed(struct _Semaphore_Control *,
int _Semaphore_Wait_timed_ticks(struct _Semaphore_Control *, __uint32_t);
int _Semaphore_Try_wait(struct _Semaphore_Control *);
void _Semaphore_Post(struct _Semaphore_Control *);
void _Semaphore_Post_binary(struct _Semaphore_Control *);
static __inline void
_Semaphore_Destroy(struct _Semaphore_Control *_semaphore)
{