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

Sebastian Huber <[email protected]> Mon, 2 Mar 2026 02:38:37 +0100 (CET)
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
----- Am 26. Feb 2026 um 16:37 schrieb Mazen Adel Elmessady [email protected]:

> Sorry, I thought you meant the Posix APIs themselves.
> It would make sense to add them since they will help if we want to refactor
> the code, however the Posix APIs are working as is.
> If you want to I can make a separate patch file for each.

Changes in Newlib are always an issue for RTEMS if you want to do a git bisect over a longer time span.

I would not remove existing declarations, even if there is not yet an RTEMS implementation. We may need them in the future.

If you add a timed clock function, for one synchronization object class, then I would also add declarations for all the other *_timed() functions as well. We may need them at some point in time for the C++/libgomp support in GCC.

-- 
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/