Re:Memory usage of a toy C# server and client with 500K conc...
by dhd415 on Saturday January 26, 2019 @05:05PM
(#19008815)
Wrapping a sync method in a Task causes a thread to block on the sync method's completion and blocking threads is much of what async/await is intended to alleviate.
[ Parent
| on HN ]
Re:Memory usage of a toy C# server and client with 500K conc...
by whoisthemachine on Saturday January 26, 2019 @08:39PM
(#19009875)
I'd be inclined to believe he means wrapping an asynchronous method (with callbacks) in a Task.