Feat/v0.9.0 task coordination#13
Merged
Merged
Conversation
- add observable Submit and TrySubmit task handles - add batch waiting, pending cancellation, and chunked ranges - integrate shared task semantics into both thread pool implementations - preserve compatibility with the v0.8 IThreadPool interface - add regression tests, benchmarks, documentation, and examples - bump the Lazarus package version to 0.9.0
…le-bin/` Additions: - `build-examples.ps1` - `build-examples.sh` - All 15 `.lpi` projects now output executables to `example-bin/`. - `example-bin/` is ignored by Git. - CI now uses the shell script. - Build instructions added to `README.md`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Prepares the v0.9.0 release by adding observable task coordination while preserving compatibility with existing v0.8.x programs.
Key changes:
ThreadPool.Taskswith observable task handles, lifecycle states, timed and indefinite waiting, error reporting, and pending-task cancellation.SubmitRangeprocessing.SubmitandTrySubmitsupport to both Simple and Producer-Consumer pools.IThreadPoolinterface and GUID for v0.8 compatibility.example-bin/.Local verification completed on Windows:
Related issue
None.
Type of change
Checklist
lazbuild tests/TestRunner.lpithen runTestRunner)CHANGELOG.mddocs/if behavior or API changed{$mode objfpc}{$H+}{$J-}and filenames match unit casing