Skip to content

Return ESRCH in pthread_getschedparam for terminated threads#1485

Open
hsfzxjy wants to merge 2 commits intojart:masterfrom
hsfzxjy:pr-pthread_getschedparam-ESRCH
Open

Return ESRCH in pthread_getschedparam for terminated threads#1485
hsfzxjy wants to merge 2 commits intojart:masterfrom
hsfzxjy:pr-pthread_getschedparam-ESRCH

Conversation

@hsfzxjy
Copy link
Copy Markdown

@hsfzxjy hsfzxjy commented Feb 25, 2026

When calling pthread_getschedparam with a non-existent thread ID, it should return ESRCH.

https://linux.die.net/man/3/pthread_getschedparam#:~:text=ESRCH,could%20be%20found.

@github-actions github-actions Bot added the libc label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant