public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] RTEMS: Add semaphore <sys/lock.h> functions
@ 2017-11-30  8:50 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2017-11-30  8:50 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=dadc9e7e4addbaad6c3249c883a80f6f8a33eafd

commit dadc9e7e4addbaad6c3249c883a80f6f8a33eafd
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Tue Nov 28 08:00:33 2017 +0100

    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>

Diff:
---
 newlib/libc/sys/rtems/include/sys/lock.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/newlib/libc/sys/rtems/include/sys/lock.h b/newlib/libc/sys/rtems/include/sys/lock.h
index 85b0cd8..d616902 100644
--- a/newlib/libc/sys/rtems/include/sys/lock.h
+++ b/newlib/libc/sys/rtems/include/sys/lock.h
@@ -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)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-30  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30  8:50 [newlib-cygwin] RTEMS: Add semaphore <sys/lock.h> functions Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).