r260531 - in /trunk/gcc/ada: ChangeLog adaint.c

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Tue May 22 13:26:00 GMT 2018


Author: pmderodat
Date: Tue May 22 13:26:49 2018
New Revision: 260531

URL: https://gcc.gnu.org/viewcvs?rev=260531&root=gcc&view=rev
Log:
[Ada] Fix retrieval of number of CPUs on QNX

Although the sysconf SC_NPROCESSORS_ONLN is also defined by the API, the
only documented way to retrieve the number of CPUs is by using the syspage.

This also better organise the QNX-specific macros in adaint.c

2018-05-22  Jerome Lambourg  <lambourg@adacore.com>

gcc/ada/

	* adaint.c: Reorganize QNX-specific macros, use syspage to retreive the
	number of CPUs.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/adaint.c



More information about the Gcc-cvs mailing list