#Threading
3 notas · última:
Asynchronous Programming
The page collects guidance for writing asynchronous code in .NET and ASP.NET Core. It emphasizes that async should propagate through the call stack, and it warns against blocking patterns, fire-and-forget mistakes, and misuse of task and cancellation APIs.
A complete guide to async programming in C#: understand threading, non-blocking I/O, await behavior, and best practices with ConfigureAwait
Stalin walks through what async/await does under the hood in C#, from thread pooling and await's resume point to SynchronizationContext, ConfigureAwait(false), and CancellationToken.
Why Ruby’s Timeout is dangerous (and Thread.raise is terrifying)
Julia Evans argues that Ruby’s Timeout is unsafe because it can interrupt arbitrary code at any point via Thread.raise, which may break cleanup, rescue blocks, and stateful operations.
