Hello Joel,
On 30/11/2020 19:40, Joel Sherrill wrote:
if rtems.check_posix(bld):
bld.recurse('posix_hello_world')
bld.recurse('both_hello')
if these examples don't use signals, I would just remove the check.
I suspect rtems_check_posix() should always return true now and
another method named rtems_check_posix_signals() should be added based
on the flag.
Similarly, RTEMS_POSIX_API should probably always be set and another
macro provided for POSIX signals.
The meaning changed without considering the impact. We need to account
for this.
If RTEMS_POSIX_API is defined, then all POSIX APIs supported by RTEMS
are enabled. If you always define it, then this is no longer true.
Applications can use something like:
#if __RTEMS_MAJOR__ >= 5
POSIX threads are always enabled ...
#endif
I don't think we need new or changed defines.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hub...@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/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel