Skip to content

[3.15] gh-154283: Make threading.get_native_id() unique across processes on DragonFly (GH-154287)#154293

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-53597df-3.15
Jul 20, 2026
Merged

[3.15] gh-154283: Make threading.get_native_id() unique across processes on DragonFly (GH-154287)#154293
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-53597df-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

On DragonFly BSD lwp_gettid() is only unique within a process (the main
thread is always LWP 1), so combine it with the process id, like Solaris.
(cherry picked from commit 53597df)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

…es on DragonFly (pythonGH-154287)

On DragonFly BSD lwp_gettid() is only unique within a process (the main
thread is always LWP 1), so combine it with the process id, like Solaris.
(cherry picked from commit 53597df11e2d9f01ade2529c147df24b49685878)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 20, 2026 19:15
@serhiy-storchaka
serhiy-storchaka merged commit 387f7cd into python:3.15 Jul 20, 2026
98 of 100 checks passed
@miss-islington
miss-islington deleted the backport-53597df-3.15 branch July 20, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants