“multithreading” टैग वाले लेख
“multithreading” टैग वाले 8 लेख, नवीनतम से पुराने क्रम में।
-
Win32 Thread Pool API — CreateThreadpoolWork से thread बनाए बिना concurrency
क्या आपके native code में CreateThread calls बिखरी पड़ी हैं? यह लेख Vista में redesign की गई Win32 thread pool API — work, timer, wait और io चार objects, cle...
-
DllMain और Loader Lock — DLL initialization में "कुछ मत करो" कहा जाने का असली कारण
DllMain से LoadLibrary क्यों न call करें और दूसरे thread से synchronize न करें। Primary sources से यह लेख बताता है कि loader lock हर DLL notification को कैसे...
-
"Not Responding" वास्तव में क्या है — Windows ऐप के hang का फैसला कैसे करता है, और hang न करने वाले ऐप कैसे design करें
Windows का "Not Responding" वह mechanism है जिसमें OS तय करता है कि window ने 5 सेकंड message नहीं लिया और उसे ghost window से बदल देता है। यह लेख उस decisio...
-
Spurious wakeup — condition variable "बिना notification के" क्यों जागती है और Windows पर सही wait कैसे करें
Condition variable की wait notification आए बिना भी लौट सकती है (spurious wakeup)। यह लेख Windows implementation से समझाता है कि spec इसे क्यों अनुमति देता है...
-
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...