Skip to content

Releases: ZjzMisaka/PowerThreadPool

PowerThreadPool

03 Jan 00:19
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.14.2...v4.15.0

PowerThreadPool

18 Dec 00:20
dcca99f
Compare
Choose a tag to compare

What's Changed

  • [*] should check worker count outofrange before get work from queue by @ZjzMisaka in #95
  • [+] support queue work when stopping by @ZjzMisaka in #96
  • [+] support queue work when stopping and cancel the work by @ZjzMisaka in #97

Full Changelog: v4.14.1...v4.14.2

PowerThreadPool

13 Dec 12:31
c5c7865
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.14.0...v4.14.1

PowerThreadPool

04 Dec 10:30
0df1999
Compare
Choose a tag to compare

What's Changed

  • [+] target net9 by @ZjzMisaka in #73
  • [*] use the class-level _powerPool field by @ZjzMisaka in #74
  • [*] use ObjectDisposedException.ThrowIf when NET8_0_OR_GREATER by @ZjzMisaka in #75
  • [*] clearly define read-only restrictions for fields and properties by @ZjzMisaka in #76
  • [*] Refactor by @ZjzMisaka in #77
  • [*] the newly added DestroyThreadOption is enabled only for newly created workers by @ZjzMisaka in #78
  • [*] refactor InterlockedFlag to use Unsafe.As instead of Enum.ToObject by @ZjzMisaka in #79
  • [*] specify the .NET 9.0 SDK version for GitHub Action by @ZjzMisaka in #80
  • [*] specify the .NET 9.0 SDK version for GitHub Action by @ZjzMisaka in #81

Full Changelog: v4.13.0...v4.14.0

PowerThreadPool

14 Nov 04:37
470919c
Compare
Choose a tag to compare

What's Changed

  • [+] allow StopIfRequested callback return nothing by @ZjzMisaka in #70
  • [*] refactor InterlockedFlag to use int instead of long for better performance and memory optimization by @ZjzMisaka in #71
  • [*] dependent works are not executed when the preceding work is cancelled by @ZjzMisaka in #72

Full Changelog: v4.12.1...v4.13.0

PowerThreadPool

09 Nov 04:01
09a6a2c
Compare
Choose a tag to compare

What's Changed

  • [*] Refactor CheckIfRequestedStopAndGetWork to clarify return value semantics by @ZjzMisaka in #67
  • [*] fix conditional compilation by @ZjzMisaka in #68
  • [*] fix set result to wrong work when cancel by @ZjzMisaka in #69

Full Changelog: v4.12.0...v4.12.1

PowerThreadPool

16 Oct 13:22
3fa86bb
Compare
Choose a tag to compare

What's Changed

  • [*] ToTypedResult: Attempt type conversion before creating a new instance by @ZjzMisaka in #64
  • [*] exit WorkGuard if work is done by @ZjzMisaka in #65
  • [+] Add optional pre-stop action parameter to StopIfRequested method by @ZjzMisaka in #66

Full Changelog: v4.11.1...v4.12.0

PowerThreadPool

29 Sep 12:02
5dde7d0
Compare
Choose a tag to compare

What's Changed

  • [*] Avoid unnecessary spin-wait by using Thread.Join() instead of _workerLoopEnded by @ZjzMisaka in #61

Full Changelog: v4.11.0...v4.11.1

PowerThreadPool

24 Sep 04:38
03ddc22
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.10.0...v4.11.0

PowerThreadPool

18 Sep 15:10
ba7c6e7
Compare
Choose a tag to compare

What's Changed

  • [+] add event for status when pool is running by @ZjzMisaka in #46
  • [*] fix: PoolRuntimeDuration may return negative number in some case by @ZjzMisaka in #47
  • [*] ensure PoolRuntimeDuration is never negative by @ZjzMisaka in #48
  • [+] running timer by @ZjzMisaka in #49
  • [*] stop running timer when RunningTimerOption is null by @ZjzMisaka in #50
  • [+] add RuntimeDuration to the EventArgs of the event by @ZjzMisaka in #52
  • [*] add a default value for Interval by @ZjzMisaka in #53

Full Changelog: v4.9.1...v4.10.0