Re: [PATCH] Update: _Semaphore_Wait_timed to include clock selection

Sebastian Huber <[email protected]> Thu, 26 Feb 2026 15:08:06 +0100 (CET)
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
----- Am 26. Feb 2026 um 14:29 schrieb Mazen Adel Elmessady [email protected]:

> Hello Sebastian,
> 
> I already added the clock variants of (mutex, condwait, rwlock) to RTEMS a
> while back, I had to update their headers in newlib too.

I don't see any updates in Newlib:

git log -1 newlib/libc/sys/rtems/include/sys/lock.h
commit dadc9e7e4addbaad6c3249c883a80f6f8a33eafd
Author: Sebastian Huber <[email protected]>
Date:   Tue Nov 28 08:00:33 2017 +0100

> 
> Kind regards,
> Mazen
> 
> On Thu, Feb 26, 2026 at 2:07 AM Sebastian Huber <
> [email protected]> wrote:
> 
>> Hello Mazen,
>>
>> it would be quite simple to implement _Semaphore_Wait_timed() if you have
>> _Semaphore_Wait_timed_clock(). I would keep the declaration and only add
>> _Semaphore_Wait_timed_clock().
>>
>> Would it make sense to add the clock variants also for the other
>> operations (mutex, ...)?
>>
>> Kind regards,
>> Sebastian
>>
>> --
>> Visit us at EMBEDDED WORLD 2026 in Nuremberg 10 to 12 March, Hall 4 Booth
>> 622!
>> --
>> embedded brains GmbH & Co. KG
>> Herr Sebastian HUBER
>> Dornierstr. 4
>> 82178 Puchheim
>> Germany
>> email: [email protected]
>> phone: +49-89-18 94 741 - 16
>> fax:   +49-89-18 94 741 - 08
>>
>> Registergericht: Amtsgericht München
>> Registernummer: HRB 157899
>> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
>> Unsere Datenschutzerklärung finden Sie hier:
>> https://embedded-brains.de/datenschutzerklaerung/

-- 
Visit us at EMBEDDED WORLD 2026 in Nuremberg 10 to 12 March, Hall 4 Booth 622!
--
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/