]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ada, Darwin: Implement OSLock for Darwin [PR115305].
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 3 Dec 2025 07:44:53 +0000 (07:44 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 5 Dec 2025 10:31:05 +0000 (10:31 +0000)
commitbdf293a112d293cee8bca0ae2e3944eba36e8005
tree2c53fae36dee22bdccf5b06679ab8c867850f55d
parenta553c70e363e75ce02c8e12e3b74b1dd9a965475
Ada, Darwin: Implement OSLock for Darwin [PR115305].

The generic Posix code does not match the layout of the pthread entities
in the Darwin _pthread_types.h.  So, let's make a Darwin-specific version
and use it.

PR ada/115305

gcc/ada/ChangeLog:

* Makefile.rtl: Use s-oslock__darwin instead of the Posix version.
* libgnat/s-oslock__darwin.ads: New file.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ada/Makefile.rtl
gcc/ada/libgnat/s-oslock__darwin.ads [new file with mode: 0644]