Skip to content

Commit

Permalink
Merge pull request #32 from ZjzMisaka/set-_executeCount-as-volatile
Browse files Browse the repository at this point in the history
[*] set _executeCount as volatile
  • Loading branch information
ZjzMisaka authored Jul 27, 2024
2 parents 82316a7 + 49df313 commit e9b3b02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PowerThreadPool/PowerThreadPool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ImplicitUsings>disable</ImplicitUsings>

<PackageId>PowerThreadPool</PackageId>
<Description>An comprehensive and efficient lock-free thread pool with granular work control, flexible concurrency, and robust error handling, alongside an easy-to-use API for diverse task submissions.</Description>
<Description>A comprehensive and efficient lock-free thread pool with granular work control, flexible concurrency, and robust error handling, alongside an easy-to-use API for diverse task submissions.</Description>
<PackageTags>csharp;net6;thread;thread-pool;threadpool;coroutine;task;async;dotnet;.net;</PackageTags>
<Authors>ZjzMisaka</Authors>
<RepositoryUrl>https://github.com/ZjzMisaka/PowerThreadPool</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion PowerThreadPool/Works/WorkBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ internal abstract class WorkBase
{
internal string ID { get; set; }
internal Worker Worker { get; set; }
internal int _executeCount;
internal volatile int _executeCount;
internal int ExecuteCount
{
get => _executeCount;
Expand Down

0 comments on commit e9b3b02

Please sign in to comment.