Re:Threads, Threads, and More Threads
by zozbot234 on Tuesday March 22, 2022 @10:27PM
(#30774153)
Async-await uses non-blocking operations in the kernel. If blocking operations need to occur, then these can occur on a separate thread but this is rare. Most things have a non-blocking equivalent.
[ Parent
| on HN ]
Re:Threads, Threads, and More Threads
by preseinger on Tuesday March 22, 2022 @11:24PM
(#30774532)
Async/await is an abstraction that exists at a layer above OS threads. "Non-blocking" isn't well defined when speaking about OS threading models.