© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2w ago•
18 replies
nathanAjacobs

Understanding intricacy of async/await (memory safety)

advanced
I have a pretty good understanding of how async await works under the hood.

One thing I am curious about is what actually ensures the memory of the generated state machine is synchronized to the other thread's memory cache when a continuation is continued on a different thread then where it was previously yielded?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

consolidating my understanding of `async`/`await` in C# and Rust
C#CC# / help
10mo ago
Async/Await question
C#CC# / help
2w ago
❔ UniTask / Unity - await/async connoisseurs wanted. Need help understanding
C#CC# / help
3y ago
✅ async/await and parallelism
C#CC# / help
13mo ago