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.