Skip to content

Brings out the implementation of Thread class into OS-specific modules#23150

Open
denizzzka wants to merge 3 commits into
dlang:masterfrom
denizzzka:thread_class_split_by_os
Open

Brings out the implementation of Thread class into OS-specific modules#23150
denizzzka wants to merge 3 commits into
dlang:masterfrom
denizzzka:thread_class_split_by_os

Conversation

@denizzzka
Copy link
Copy Markdown
Contributor

@denizzzka denizzzka commented May 20, 2026

Brings out the implementation of Thread class into OS-specific modules

(continuation of the work begun in #22805 )

This patch only separates class code. Functions that also have OS-dependend version branching are not affected for now to keep PR simple.

Also, I didn't put all mentioned here modules into a separate package osthread so as not to complicate the PR - this could be done in a separate patch.

I left the indentation unchanged at some dificult places to make it easier to compare code with its previous state - version (all) have been added wherever necessary.

@dlang-bot
Copy link
Copy Markdown
Contributor

Thanks for your pull request and interest in making D better, @denizzzka! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#23150"

@denizzzka denizzzka force-pushed the thread_class_split_by_os branch from 91b2cdf to 0fee6ea Compare May 20, 2026 06:12
@denizzzka denizzzka force-pushed the thread_class_split_by_os branch from 373c30f to 3468708 Compare May 20, 2026 07:25
@denizzzka denizzzka marked this pull request as ready for review May 20, 2026 08:29
@denizzzka denizzzka force-pushed the thread_class_split_by_os branch from 1d23fac to f94f3bc Compare May 21, 2026 19:22
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