Skip to content

gh-116738: Test resource module on FT Python build#138504

Merged
kumaraditya303 merged 2 commits intopython:mainfrom
yoney:ft_resource
Sep 11, 2025
Merged

gh-116738: Test resource module on FT Python build#138504
kumaraditya303 merged 2 commits intopython:mainfrom
yoney:ft_resource

Conversation

@yoney
Copy link
Contributor

@yoney yoney commented Sep 4, 2025

The resource module appears thread-safe. According to Linux documentation, getrlimit(), setrlimit(), prlimit(), and getrusage() are marked as MT-Safe, and didn’t find any thread-safety issues mentioned for other docs (posix, freebsd).

  • Added a simple test for FT Python build to collect per-thread user time. This is only supported on some systems, like Linux.

cc: @mpage @colesbury @Yhg1s

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants