Landing: 8e291742ed6e

Project / Subsystem

gcc / ada

Date

2025-11-26

Author

Tonu Naks

Commit

8e291742ed6e9410c3cb239ca928fa679d484be9

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
8e291742ed6e9410c3cb239ca928fa679d484be9
source_type
github
headline
Ada: Make __gnat_copy_attribs non-blocking on windows
tldr
The Ada runtime's `__gnat_copy_attribs` function now uses non-blocking file attribute fetching on Windows.
author
Tonu Naks
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • windows
  • performance
  • non-blocking
discussion_id_link
bugzilla_pr
date
2025-11-26T00:00:00.000Z

On Windows, the Ada runtime function __gnat_copy_attribs now uses GetFileAttributesEx instead of GetFileAttributes to fetch file attributes. This change makes the operation non-blocking, potentially improving responsiveness in multi-threaded Ada applications that interact with the file system.