“design” टैग वाले लेख
“design” टैग वाले 4 लेख, नवीनतम से पुराने क्रम में।
-
Practical multithreading best practices: Java संस्करण — virtual thread युग की practices
Java में multithreading की स्थापित practice यह है कि thread सीधे न बनाएँ, बल्कि ExecutorService और virtual threads पर चलें। यह लेख practical सिद्धांत रखता है...
-
Practical multithreading best practices: C संस्करण — Win32 API तरीके से सुरक्षित लिखना
Win32 के साथ C में multithreading का स्थापित तरीका _beginthreadex से thread बनाना, SRW lock और condition variable, Interlocked functions, और stop event प्लस ...
-
Practical multithreading best practices: C++ संस्करण — RAII और jthread से structure द्वारा accidents मिटाना
C++ में multithreading वह संसार है जहाँ data race undefined behavior बन जाता है। यह लेख std::thread के destructor का pitfall, jthread और stop_token से stop क...
-
Practical multithreading best practices: .NET संस्करण — और thread जोड़ने से पहले क्या तय करें
Multithreaded .NET/C# code को कभी-कभी crash या hang होने से बचाने वाले design नियमों का practical सार: thread स्वयं न बनाकर Task पर चलें, shared mutable stat...