Skip to content

ThreadSleepVsTaskDelay: retarget net10.0, add starvation demo + PeriodicTimer sample - #2080

Merged
CodeMazeBlog merged 7 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/103935-csharp-thread-sleep-vs-task-delay
Aug 11, 2026
Merged

ThreadSleepVsTaskDelay: retarget net10.0, add starvation demo + PeriodicTimer sample#2080
CodeMazeBlog merged 7 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/103935-csharp-thread-sleep-vs-task-delay

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Retargets both projects to net10.0. Fixes a repo/article parameter-name mismatch (UseThreadSleep/UseTaskDelay). Adds a console thread-pool starvation demo (RunBlockingWorkAsync/RunNonBlockingWorkAsync) and a PeriodicTimer sample (RunPeriodicRefreshAsync), both driven from Main(). 3/3 tests pass on net10.0.

@CodeMazeBlog
CodeMazeBlog merged commit c6c6cbe into CodeMazeBlog:main Aug 11, 2026
3 checks 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.

2 participants