Serviceeinschränkungen vom 12.-22.02.2026 - weitere Infos auf der UB-Homepage

Treffer: What Every Dev Must Know About Multithreaded Apps.

Title:
What Every Dev Must Know About Multithreaded Apps.
Authors:
Source:
MSDN (1528-4859). Aug2005, Vol. 20 Issue 8, p48-56. 8p.
Database:
Supplemental Index

Weitere Informationen

This article provides information on what every developer must know about multithreaded applications. It discusses multithreading and the shared memory threading model. It also deals with races and how concurrent access can break invariants. It notes that the fundamental principles underlying good coding in sequential and multithreaded programs are not so different. In both cases, the entire code base has to methodically protect the invariants that are needed elsewhere in the program. As in a sequential program, good designs are typically the simplest, and for multithreaded programs this means having the fewest number of locks that achieve the needed concurrency. If one keeps the locking design simple and methodically follow the locking design, one can write race-free multithreaded programs.