├── .all-contributorsrc ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── build_sign_publish.yml │ └── test.yml ├── .gitignore ├── Benchmark ├── .editorconfig ├── Benchmark.csproj ├── BenchmarkAsyncShortWork.cs ├── BenchmarkAsyncWork.cs ├── BenchmarkSyncShortWork.cs ├── BenchmarkSyncWork.cs └── Program.cs ├── Deque ├── Deque.cs ├── Deque.projitems ├── Deque.shproj └── Utility.cs ├── LICENSE ├── PowerThreadPool.publickey ├── PowerThreadPool.sln ├── PowerThreadPool ├── .editorconfig ├── Collections │ ├── ConcurrentObservableCollection.cs │ ├── ConcurrentSet.cs │ ├── ConcurrentStealablePriorityDeque.cs │ ├── ConcurrentStealablePriorityQueue.cs │ ├── ConcurrentStealablePriorityStack.cs │ └── IStealablePriorityCollection.cs ├── Constants │ ├── CanCancel.cs │ ├── CanCreateNewWorker.cs │ ├── CanDeleteRedundantWorker.cs │ ├── CanDispose.cs │ ├── CanForceStop.cs │ ├── CanGetWork.cs │ ├── CanInsertPriority.cs │ ├── CanWatch.cs │ ├── DependencyStatus.cs │ ├── PoolStates.cs │ ├── WatchStates.cs │ ├── WorkHeldStates.cs │ ├── WorkStealability.cs │ └── WorkerStates.cs ├── Core │ ├── PowerThreadPool.Control.cs │ ├── PowerThreadPool.Events.cs │ ├── PowerThreadPool.Group.cs │ ├── PowerThreadPool.Parallel.cs │ ├── PowerThreadPool.QueueWorkItem.cs │ ├── PowerThreadPool.QueueWorkItemAsync.cs │ ├── PowerThreadPool.cs │ ├── Worker.cs │ └── WorkerContext.cs ├── EventArguments │ ├── ErrorOccurredEventArgs.cs │ ├── PoolIdledEventArgs.cs │ ├── RunningTimerElapsedEventArgs.cs │ ├── RunningWorkerCountChangedEventArgs.cs │ ├── WorkCanceledEventArgs.cs │ ├── WorkDiscardedEventArgs.cs │ ├── WorkEndedEventArgs.cs │ ├── WorkEventArgsBase.cs │ ├── WorkRejectedEventArgs.cs │ ├── WorkStartedEventArgs.cs │ ├── WorkStoppedEventArgs.cs │ └── WorkTimedOutEventArgs.cs ├── Exceptions │ ├── CycleDetectedException.cs │ ├── WorkExceptionBase.cs │ ├── WorkRejectedException.cs │ └── WorkStopException.cs ├── Groups │ └── Group.cs ├── Helpers │ ├── Asynchronous │ │ ├── AsyncManualResetEvent.cs │ │ ├── ITaskCompletionSource.cs │ │ ├── PowerPoolSynchronizationContext.cs │ │ ├── PowerPoolSynchronizationContextOfT.cs │ │ └── TaskCompletionSourceBox.cs │ ├── DelegateHelper.cs │ ├── Dependency │ │ └── WorkDependencyController.cs │ ├── HitChecker.cs │ ├── LockFree │ │ ├── InterlockedFlag.cs │ │ ├── Spinner.cs │ │ └── WorkGuard.cs │ ├── StatusPingPongChecker.cs │ └── Timers │ │ └── DeferredActionTimer.cs ├── Options │ ├── DestroyThreadOption.cs │ ├── PowerPoolOption.cs │ ├── RejectOption.cs │ ├── RetryOption.cs │ ├── RunningTimerOption.cs │ ├── TimeoutOption.cs │ ├── WorkOption.cs │ └── WorkOptionOfT.cs ├── PowerThreadPool.csproj ├── Results │ ├── ExecuteResult.cs │ ├── ExecuteResultBase.cs │ └── RetryInfo.cs └── Works │ ├── AsyncWorkInfo.cs │ ├── Work.cs │ ├── WorkAction.cs │ ├── WorkBase.cs │ ├── WorkFunc.cs │ ├── WorkID.cs │ ├── WorkIDGuid.cs │ ├── WorkIDLong.cs │ ├── WorkIDString.cs │ └── WorkItemBase.cs ├── PowerThreadPoolTest ├── .editorconfig ├── App.xaml ├── App.xaml.cs ├── AssemblyInfo.cs ├── MainWindow.xaml ├── MainWindow.xaml.cs └── PowerThreadPoolTest.csproj ├── README.md ├── SECURITY.md ├── UnitTest ├── .editorconfig ├── AsyncManualResetEventTest.cs ├── AsyncTest.cs ├── ConcurrentSetTest.cs ├── ControlTest.cs ├── DeferredActionTimerTest.cs ├── InterlockedFlagTest.cs ├── PowerPoolTest.cs ├── QueueWorkItemTest.cs ├── StealablePriorityCollectionTest.cs ├── StressTest.cs ├── UnitTest.csproj ├── Usings.cs └── WorkIDTest.cs ├── coverage.runsettings └── icon.png /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/build_sign_publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/.github/workflows/build_sign_publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/.gitignore -------------------------------------------------------------------------------- /Benchmark/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Benchmark/.editorconfig -------------------------------------------------------------------------------- /Benchmark/Benchmark.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Benchmark/Benchmark.csproj -------------------------------------------------------------------------------- /Benchmark/BenchmarkAsyncShortWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Benchmark/BenchmarkAsyncShortWork.cs -------------------------------------------------------------------------------- /Benchmark/BenchmarkAsyncWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Benchmark/BenchmarkAsyncWork.cs -------------------------------------------------------------------------------- /Benchmark/BenchmarkSyncShortWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Benchmark/BenchmarkSyncShortWork.cs -------------------------------------------------------------------------------- /Benchmark/BenchmarkSyncWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Benchmark/BenchmarkSyncWork.cs -------------------------------------------------------------------------------- /Benchmark/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Benchmark/Program.cs -------------------------------------------------------------------------------- /Deque/Deque.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Deque/Deque.cs -------------------------------------------------------------------------------- /Deque/Deque.projitems: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Deque/Deque.projitems -------------------------------------------------------------------------------- /Deque/Deque.shproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Deque/Deque.shproj -------------------------------------------------------------------------------- /Deque/Utility.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/Deque/Utility.cs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/LICENSE -------------------------------------------------------------------------------- /PowerThreadPool.publickey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool.publickey -------------------------------------------------------------------------------- /PowerThreadPool.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool.sln -------------------------------------------------------------------------------- /PowerThreadPool/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/.editorconfig -------------------------------------------------------------------------------- /PowerThreadPool/Collections/ConcurrentObservableCollection.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Collections/ConcurrentObservableCollection.cs -------------------------------------------------------------------------------- /PowerThreadPool/Collections/ConcurrentSet.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Collections/ConcurrentSet.cs -------------------------------------------------------------------------------- /PowerThreadPool/Collections/ConcurrentStealablePriorityDeque.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Collections/ConcurrentStealablePriorityDeque.cs -------------------------------------------------------------------------------- /PowerThreadPool/Collections/ConcurrentStealablePriorityQueue.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Collections/ConcurrentStealablePriorityQueue.cs -------------------------------------------------------------------------------- /PowerThreadPool/Collections/ConcurrentStealablePriorityStack.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Collections/ConcurrentStealablePriorityStack.cs -------------------------------------------------------------------------------- /PowerThreadPool/Collections/IStealablePriorityCollection.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Collections/IStealablePriorityCollection.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanCancel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanCancel.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanCreateNewWorker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanCreateNewWorker.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanDeleteRedundantWorker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanDeleteRedundantWorker.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanDispose.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanDispose.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanForceStop.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanForceStop.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanGetWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanGetWork.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanInsertPriority.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanInsertPriority.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/CanWatch.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/CanWatch.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/DependencyStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/DependencyStatus.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/PoolStates.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/PoolStates.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/WatchStates.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/WatchStates.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/WorkHeldStates.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/WorkHeldStates.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/WorkStealability.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/WorkStealability.cs -------------------------------------------------------------------------------- /PowerThreadPool/Constants/WorkerStates.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Constants/WorkerStates.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/PowerThreadPool.Control.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/PowerThreadPool.Control.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/PowerThreadPool.Events.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/PowerThreadPool.Events.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/PowerThreadPool.Group.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/PowerThreadPool.Group.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/PowerThreadPool.Parallel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/PowerThreadPool.Parallel.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/PowerThreadPool.QueueWorkItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/PowerThreadPool.QueueWorkItem.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/PowerThreadPool.QueueWorkItemAsync.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/PowerThreadPool.QueueWorkItemAsync.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/PowerThreadPool.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/PowerThreadPool.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/Worker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/Worker.cs -------------------------------------------------------------------------------- /PowerThreadPool/Core/WorkerContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Core/WorkerContext.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/ErrorOccurredEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/ErrorOccurredEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/PoolIdledEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/PoolIdledEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/RunningTimerElapsedEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/RunningTimerElapsedEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/RunningWorkerCountChangedEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/RunningWorkerCountChangedEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkCanceledEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkCanceledEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkDiscardedEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkDiscardedEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkEndedEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkEndedEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkEventArgsBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkEventArgsBase.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkRejectedEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkRejectedEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkStartedEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkStartedEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkStoppedEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkStoppedEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/EventArguments/WorkTimedOutEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/EventArguments/WorkTimedOutEventArgs.cs -------------------------------------------------------------------------------- /PowerThreadPool/Exceptions/CycleDetectedException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Exceptions/CycleDetectedException.cs -------------------------------------------------------------------------------- /PowerThreadPool/Exceptions/WorkExceptionBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Exceptions/WorkExceptionBase.cs -------------------------------------------------------------------------------- /PowerThreadPool/Exceptions/WorkRejectedException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Exceptions/WorkRejectedException.cs -------------------------------------------------------------------------------- /PowerThreadPool/Exceptions/WorkStopException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Exceptions/WorkStopException.cs -------------------------------------------------------------------------------- /PowerThreadPool/Groups/Group.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Groups/Group.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/Asynchronous/AsyncManualResetEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/Asynchronous/AsyncManualResetEvent.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/Asynchronous/ITaskCompletionSource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/Asynchronous/ITaskCompletionSource.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/Asynchronous/PowerPoolSynchronizationContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/Asynchronous/PowerPoolSynchronizationContext.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/Asynchronous/PowerPoolSynchronizationContextOfT.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/Asynchronous/PowerPoolSynchronizationContextOfT.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/Asynchronous/TaskCompletionSourceBox.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/Asynchronous/TaskCompletionSourceBox.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/DelegateHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/DelegateHelper.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/Dependency/WorkDependencyController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/Dependency/WorkDependencyController.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/HitChecker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/HitChecker.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/LockFree/InterlockedFlag.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/LockFree/InterlockedFlag.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/LockFree/Spinner.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/LockFree/Spinner.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/LockFree/WorkGuard.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/LockFree/WorkGuard.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/StatusPingPongChecker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/StatusPingPongChecker.cs -------------------------------------------------------------------------------- /PowerThreadPool/Helpers/Timers/DeferredActionTimer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Helpers/Timers/DeferredActionTimer.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/DestroyThreadOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/DestroyThreadOption.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/PowerPoolOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/PowerPoolOption.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/RejectOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/RejectOption.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/RetryOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/RetryOption.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/RunningTimerOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/RunningTimerOption.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/TimeoutOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/TimeoutOption.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/WorkOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/WorkOption.cs -------------------------------------------------------------------------------- /PowerThreadPool/Options/WorkOptionOfT.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Options/WorkOptionOfT.cs -------------------------------------------------------------------------------- /PowerThreadPool/PowerThreadPool.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/PowerThreadPool.csproj -------------------------------------------------------------------------------- /PowerThreadPool/Results/ExecuteResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Results/ExecuteResult.cs -------------------------------------------------------------------------------- /PowerThreadPool/Results/ExecuteResultBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Results/ExecuteResultBase.cs -------------------------------------------------------------------------------- /PowerThreadPool/Results/RetryInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Results/RetryInfo.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/AsyncWorkInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/AsyncWorkInfo.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/Work.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/Work.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkAction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkAction.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkBase.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkFunc.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkFunc.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkID.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkID.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkIDGuid.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkIDGuid.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkIDLong.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkIDLong.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkIDString.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkIDString.cs -------------------------------------------------------------------------------- /PowerThreadPool/Works/WorkItemBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPool/Works/WorkItemBase.cs -------------------------------------------------------------------------------- /PowerThreadPoolTest/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPoolTest/.editorconfig -------------------------------------------------------------------------------- /PowerThreadPoolTest/App.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPoolTest/App.xaml -------------------------------------------------------------------------------- /PowerThreadPoolTest/App.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPoolTest/App.xaml.cs -------------------------------------------------------------------------------- /PowerThreadPoolTest/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPoolTest/AssemblyInfo.cs -------------------------------------------------------------------------------- /PowerThreadPoolTest/MainWindow.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPoolTest/MainWindow.xaml -------------------------------------------------------------------------------- /PowerThreadPoolTest/MainWindow.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPoolTest/MainWindow.xaml.cs -------------------------------------------------------------------------------- /PowerThreadPoolTest/PowerThreadPoolTest.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/PowerThreadPoolTest/PowerThreadPoolTest.csproj -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/SECURITY.md -------------------------------------------------------------------------------- /UnitTest/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/.editorconfig -------------------------------------------------------------------------------- /UnitTest/AsyncManualResetEventTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/AsyncManualResetEventTest.cs -------------------------------------------------------------------------------- /UnitTest/AsyncTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/AsyncTest.cs -------------------------------------------------------------------------------- /UnitTest/ConcurrentSetTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/ConcurrentSetTest.cs -------------------------------------------------------------------------------- /UnitTest/ControlTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/ControlTest.cs -------------------------------------------------------------------------------- /UnitTest/DeferredActionTimerTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/DeferredActionTimerTest.cs -------------------------------------------------------------------------------- /UnitTest/InterlockedFlagTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/InterlockedFlagTest.cs -------------------------------------------------------------------------------- /UnitTest/PowerPoolTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/PowerPoolTest.cs -------------------------------------------------------------------------------- /UnitTest/QueueWorkItemTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/QueueWorkItemTest.cs -------------------------------------------------------------------------------- /UnitTest/StealablePriorityCollectionTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/StealablePriorityCollectionTest.cs -------------------------------------------------------------------------------- /UnitTest/StressTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/StressTest.cs -------------------------------------------------------------------------------- /UnitTest/UnitTest.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/UnitTest.csproj -------------------------------------------------------------------------------- /UnitTest/Usings.cs: -------------------------------------------------------------------------------- 1 | global using Xunit; 2 | -------------------------------------------------------------------------------- /UnitTest/WorkIDTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/UnitTest/WorkIDTest.cs -------------------------------------------------------------------------------- /coverage.runsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/coverage.runsettings -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZjzMisaka/PowerThreadPool/HEAD/icon.png --------------------------------------------------------------------------------