System::Threading::ThreadPoolImpl क्लास

ThreadPoolImpl class

Thread pool internal data. This is a singleton type with memory management done by access function(s). You should never create instances of it directly.

class ThreadPoolImpl

विधियाँ

विधिविवरण
GetAvailableThreads(int&, int&)उपलब्ध थ्रेड्स की संख्या प्राप्त करता है।
static GetInitialized()इनिशियलाइज़ेशन स्टेट सिंगलटन प्राप्त करता है।
GetMaxThreads(int&, int&)समकालिक थ्रेड्स की अधिकतम संख्या प्राप्त करता है।
GetMinThreads(int&, int&)पूल द्वारा बनाए जा रहे थ्रेड्स की न्यूनतम संख्या प्राप्त करता है।
JoinAll()सभी स्वामित्व वाले थ्रेड्स को जॉइन करता है। अनंतकाल तक इंतजार करता है।
QueueUserWorkItem(WaitCallback, const System::SharedPtr<System::Object>&)वर्क आइटम को कतार में जोड़ता है।
SetMaxThreads(int, int)पूल द्वारा स्वामित्व वाले थ्रेड्स की संख्या सेट करता है।
SetMinThreads(int, int)पूल द्वारा स्वामित्व वाले थ्रेड्स की न्यूनतम संख्या सेट करता है।
ThreadPoolImpl()निर्माता।
~ThreadPoolImpl()डिस्ट्रक्टर। यदि थ्रेड समाप्त नहीं हुए हों तो सभी थ्रेड को जोड़ता है।

संबंधित देखें