[PATCH v2] rtems: Constify rtems_task_wake_when()

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 12 19:28:52 UTC 2021


On 12/05/2021 18:46, Gedare Bloom wrote:
> I understand the efficiency, but the interface is awkward. At least
> maybe put UINT32_MAX behind a macro to make the intent more clear
> #define RTEMS_TICKS_MASK 0xffffffffU
> or UINT32_MAX is fine there too, equivalent.
> 
> Otherwise, go ahead.

I added two constants for the ticks mask:

https://git.rtems.org/rtems/commit/?id=523867de9d274d2bdc29ce649d764b42a9167c0e

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at 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 devel mailing list