C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,292 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'm trying to deep dive into the concept of async programming and need some help in understanding the same.
what I know : When control hits await func, it gives the execution work to pool thread and main thread gets free.
Query : how main thread knows that pool thread completed the async task ? is that main thread keeps checking the worker thread if task completed or not ?
note: i believe, pool thread / worker thread / background thread all are same.
Thanks,
Sravan kumar
There is no one straightforward answer and with that would defer you to this article.