Skip to content

Identify Moonrise worker threads correctly#505

Merged
duplexsystem merged 1 commit intoPolyhedralDev:masterfrom
HaHaWTH:master
Jun 7, 2025
Merged

Identify Moonrise worker threads correctly#505
duplexsystem merged 1 commit intoPolyhedralDev:masterfrom
HaHaWTH:master

Conversation

@HaHaWTH
Copy link
Copy Markdown
Contributor

@HaHaWTH HaHaWTH commented Jun 6, 2025

Pull Request

Description

Correctly identify Moonrise worker threads, as it removed previous members exposed in MoonriseCommon, old code nolonger works.

The new approach now gets the PriortisedThreadPool member from MoonriseCommon and calling its getCoreThreads method.

Closes #481.

Checklist

Mandatory checks

  • The base branch of this PR is an unreleased version branch (that has a ver/ prefix)
    or is a branch that is intended to be merged into a version branch.
  • There are no already existing PRs that provide the same changes.
  • The PR is within the scope of Terra (i.e. is something a configurable terrain generator should be doing).
  • Changes follow the code style for this project.
  • I have read the CONTRIBUTING.md
    document in the root of the git repository.

Types of changes

  • Bug Fix
  • Build system
  • Documentation
  • New Feature
  • Performance
  • Refactoring
  • Repository
  • Revert
  • Style
  • Tests
  • Translation

Compatibility

  • Introduces a breaking change
  • Introduces new functionality in a backwards compatible way.
  • Introduces bug fixes

Documentation

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Testing

  • I have added tests to cover my changes.
  • All new and existing tests passed.

Licensing

  • I am the original author of this code, and I am willing to
    release it under GPLv3.
  • I am not the original author of this code, but it is in public domain or
    released under GPLv3 or a compatible license.

@duplexsystem duplexsystem merged commit 748e027 into PolyhedralDev:master Jun 7, 2025
1 check passed
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.

[Bug] Multithreaded World Generation on Paper 1.21.3

2 participants