[PATCH] Update: _Semaphore_Wait_timed to include clock selection

Sebastian Huber sebastian.huber@embedded-brains.de
Mon Mar 2 01:38:37 GMT 2026


----- Am 26. Feb 2026 um 16:37 schrieb Mazen Adel Elmessady mez3n1151@gmail.com:

> 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: sebastian.huber@embedded-brains.de
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/


More information about the Newlib mailing list