public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Sebastian Huber <sh@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] RTEMS: Timed wait by ticks <sys/lock.h> functions
Date: Thu, 30 Nov 2017 08:50:00 -0000	[thread overview]
Message-ID: <20171130085007.97051.qmail@sourceware.org> (raw)

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

commit 5a2ab9d55eb0cb018fc7095422581af9fdca0275
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Tue Nov 28 07:59:44 2017 +0100

    RTEMS: Timed wait by ticks <sys/lock.h> functions
    
    Declare timed wait by ticks functions.
    
    Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>

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

diff --git a/newlib/libc/sys/rtems/include/sys/lock.h b/newlib/libc/sys/rtems/include/sys/lock.h
index f2666ed..85b0cd8 100644
--- a/newlib/libc/sys/rtems/include/sys/lock.h
+++ b/newlib/libc/sys/rtems/include/sys/lock.h
@@ -137,6 +137,8 @@ void _Mutex_Acquire(struct _Mutex_Control *);
 
 int _Mutex_Acquire_timed(struct _Mutex_Control *, const struct timespec *);
 
+int _Mutex_Acquire_timed_ticks(struct _Mutex_Control *, __uint32_t);
+
 int _Mutex_Try_acquire(struct _Mutex_Control *);
 
 void _Mutex_Release(struct _Mutex_Control *);
@@ -185,6 +187,9 @@ void _Mutex_recursive_Acquire(struct _Mutex_recursive_Control *);
 int _Mutex_recursive_Acquire_timed(struct _Mutex_recursive_Control *,
     const struct timespec *);
 
+int _Mutex_recursive_Acquire_timed_ticks(struct _Mutex_recursive_Control *,
+    __uint32_t);
+
 int _Mutex_recursive_Try_acquire(struct _Mutex_recursive_Control *);
 
 void _Mutex_recursive_Release(struct _Mutex_recursive_Control *);
@@ -232,12 +237,18 @@ void _Condition_Wait(struct _Condition_Control *, struct _Mutex_Control *);
 int _Condition_Wait_timed(struct _Condition_Control *,
     struct _Mutex_Control *, const struct timespec *);
 
+int _Condition_Wait_timed_ticks(struct _Condition_Control *,
+    struct _Mutex_Control *, __uint32_t);
+
 void _Condition_Wait_recursive(struct _Condition_Control *,
     struct _Mutex_recursive_Control *);
 
 int _Condition_Wait_recursive_timed(struct _Condition_Control *,
     struct _Mutex_recursive_Control *, const struct timespec *);
 
+int _Condition_Wait_recursive_timed_ticks(struct _Condition_Control *,
+    struct _Mutex_recursive_Control *, __uint32_t);
+
 void _Condition_Signal(struct _Condition_Control *);
 
 void _Condition_Broadcast(struct _Condition_Control *);
@@ -284,6 +295,11 @@ _Semaphore_Get_name(const struct _Semaphore_Control *_semaphore)
 
 void _Semaphore_Wait(struct _Semaphore_Control *);
 
+int _Semaphore_Wait_timed(struct _Semaphore_Control *,
+    const struct timespec *);
+
+int _Semaphore_Wait_timed_ticks(struct _Semaphore_Control *, __uint32_t);
+
 void _Semaphore_Post(struct _Semaphore_Control *);
 
 static __inline void


                 reply	other threads:[~2017-11-30  8:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171130085007.97051.qmail@sourceware.org \
    --to=sh@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).