The DAX index managed to reverse a weak start on Thursday, climbing into positive territory by lunchtime. By a little after 12:30, the index stood at 24,030 poi...
https://news.osna.fm/?p=43918 |
#news #amid #await #dax #decision
Dax Rises Amid Inflation Fears as Traders Await Key ECB Rate Decision - Osna.FM
The DAX reverses course from a weak start to positive gains. Get expert analysis of the market as traders anticipate the crucial ECB interest rate decision.
Osna.FMThe DAX continued its upward trend on Monday afternoon, remaining positive after an already strong start to trading. Around 12:30 PM, the benchmark index was ca...
https://news.osna.fm/?p=43492 |
#news #anchors #await #beat #earnings
Siemens Anchors German Market as Investors Await Geopolitical Stability and Earnings Beat - Osna.FM
Keep up with the DAX! See how Siemens and top German stocks are boosting the Frankfurt Stock Exchange, driving positive gains across the European markets.
Osna.FM
await doesn't create a new thread. It never did.
Here's what actually happens under the hood:
๐. ๐๐ก๐ ๐๐จ๐ฆ๐ฉ๐ข๐ฅ๐๐ซ ๐ซ๐๐ฐ๐ซ๐ข๐ญ๐๐ฌ ๐ฒ๐จ๐ฎ๐ซ ๐ฆ๐๐ญ๐ก๐จ๐
โ Your async method becomes a stateโฆ | Julio Casal | 31 comments
await doesn't create a new thread. It never did.
Here's what actually happens under the hood:
๐. ๐๐ก๐ ๐๐จ๐ฆ๐ฉ๐ข๐ฅ๐๐ซ ๐ซ๐๐ฐ๐ซ๐ข๐ญ๐๐ฌ ๐ฒ๐จ๐ฎ๐ซ ๐ฆ๐๐ญ๐ก๐จ๐
โ Your async method becomes a state machine struct
โ Implements IAsyncStateMachine with a MoveNext() method
โ Each "await" becomes a pause point between states
๐. ๐๐ก๐๐ญ ๐ก๐๐ฉ๐ฉ๐๐ง๐ฌ ๐๐ญ "๐๐ฐ๐๐ข๐ญ"
โ The task is checked. If already completed, execution continues immediately.
โ If not, a continuation callback is registered
โ The current thread is released back to the thread pool
โ No thread is blocked. None.
๐. ๐๐ก๐๐ง ๐ญ๐ก๐ ๐ญ๐๐ฌ๐ค ๐๐จ๐ฆ๐ฉ๐ฅ๐๐ญ๐๐ฌ
โ The continuation fires
โ MoveNext() is called again
โ The state machine picks up where it left off on a thread pool thread
๐. ๐๐ฒ๐ง๐๐ก๐ซ๐จ๐ง๐ข๐ณ๐๐ญ๐ข๐จ๐ง๐๐จ๐ง๐ญ๐๐ฑ๐ญ
โ ASP .NET Core: none. Continuations resume on any thread pool thread.
โ WPF/WinForms: captures the UI thread. This is where deadlocks happen.
๐. ๐๐ฐ๐๐ข๐ญ ๐๐จ๐๐ฌ ๐๐๐ ๐๐ซ๐๐๐ญ๐ ๐ ๐ง๐๐ฐ ๐ญ๐ก๐ซ๐๐๐
โ It releases the current one. That's it.
โ This is the most common misconception about async in C#.
๐ ๐ญ๐ซ๐๐ฉ๐ฌ ๐ญ๐ก๐๐ญ ๐ค๐๐๐ฉ ๐ฌ๐ก๐จ๐ฐ๐ข๐ง๐ ๐ฎ๐ฉ:
โ Calling .Result or .Wait() on a Task. Blocks the thread and risks deadlocks.
โ Using async void (except for event handlers). Exceptions crash the process.
โ Forgetting ConfigureAwait(false) in library code. Causes subtle context issues.
I made a free .NET Interview Prep guide covering the questions senior devs actually get asked ๐
https://lnkd.in/g9bWNzkR | 31 comments on LinkedIn
LinkedInThe DAX continued its upward trend on Tuesday afternoon after a positive start to the trading day. Around 12:30 PM, the leading index was measured at approximat...
https://news.osna.fm/?p=41827 |
#news #amid #await #corporate #dax
Dax Rises Amid War Peace Hopes as Investors Await Corporate Earnings Season - Osna.FM
Discover why investors are optimistic about the DAX's continued rise as hopes build for an end to the war. Read our expert analysis now.
Osna.FMThe German stock index, the Dax, began trading on Thursday session with losses. Around 9:30 a.m., the leading index was calculated at approximately 23,850 point...
https://news.osna.fm/?p=41224 |
#news #await #below #dax #drops
Dax Drops Below 24,000 as Markets Await Fragile US-Iran Tensions Resolution - Osna.FM
Dax falls below 24,000 points. Explore today's market analysis on DAX volatility and financial stability.
Osna.FMThe DAX dropped sharply at market open. Just after 9:30โฏa.m. it stood at around 22โฏ425 points in the Frankfurt trading hall-a 0.8โฏ% decline from the previous da...
https://news.osna.fm/?p=39838 |
#news #amid #analysts #await #conflict
DAX Drops 0.8% Amid Iran Conflict Fears; Oil Prices Spike, Analysts Await Diplomatic Resolution - Osna.FM
The DAX slumped dramatically at market open, plunging sharply as traders react to latest economic data and market sentiment.
Osna.FMThe German benchmark index opened Thursday morning in the red. By 9:30โฏa.m. the DAX was at roughly 22โฏ710 points, about 1.1โฏ% below the previous day's close. Th...
https://news.osna.fm/?p=39733 |
#news #await #dax #deadline #iran
DAX Slides 1.1% as Traders Await Trump's Iran Deadline - Osna.FM
DAX opens in the red as traders watch Trump's ultimatum, highlighting market volatility and investor sentiment on Thursday morning.
Osna.FM30โฏa..m., slightly below Friday's closing level. At the top of the daily leaders list was Commerzbank, while Unicredit had presented a takeover bid for the bank...
https://news.osna.fm/?p=38346 |
#news #await #bidmarkets #buyout #commerzbank
DAX Steady, Commerzbank Soars on Buyโout Bid-Markets Await Deโescalation in Gulf Tensions - Osna.FM
Discover how the DAX's sluggish start and Commerzbank's response to a takeover offer shape market momentum this Monday.
Osna.FM
Bae In Hyuk And Roh Jeong Eui Anxiously Await Court Decision On Their Cousinโs Guardianship In โOur Universeโ Finale - KpopNewsHub โ Latest K-Pop News, Idols & Korean Entertainment
Bae In Hyuk and Roh Jeong Eui are struggling to keep and protect their cousin Woo Joo in the final episode of โOur Universeโ!
Kpop News HubThe DAX opened on Wednesday morning with losses. At 9:30โฏa.m. it was trading around 23,675 points, which was 1.2โฏpercent below the previous day's closing level....
https://news.osna.fm/?p=37824 |
#news #await #data #dax #inflation
DAX Opens 1.2% Lower on Volatile News, Oil Prices Surge, Markets Await US Inflation Data - Osna.FM
DAX Opens in the Negative as Market Volatility Persists - Read the Latest Market News and Key Drivers Behind Wednesday Morning Losses.
Osna.FM