]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Support setting task affinity on QNX
authorJohannes Kliemann <kliemann@adacore.com>
Wed, 9 Aug 2023 12:57:01 +0000 (12:57 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 5 Sep 2023 11:05:13 +0000 (13:05 +0200)
commit46644c3fd7c2c6baf1bfde0734bfd50975faa1c4
tree1fa907736426b9975a7f9d592a26a88196dea819
parenta5c1652d7c3782525c2b75f41473a71bbc898acc
ada: Support setting task affinity on QNX

QNX does not support setting the thread affinity via a POSIX API.
This implementation uses QNX's native Thread_Ctl API to set the
thread affinity for Ada tasks.

gcc/ada/

* libgnarl/s-taprop__qnx.adb: Implement Set_Task_Affinity.
gcc/ada/libgnarl/s-taprop__qnx.adb