This software component enables up to 99 processes to be executed simultaneously.
When a method of an object created within a thread using libThr is invoked, it can either wait until a returned value is produced, or return immediately and notify the developer via an asynchronous event when the returned value becomes available. Additionally, libThr supports both 'single-threaded Apartment' threading models and 'Free multi-threaded' threading models. This threading model versatility allows you to execute multiple objects of the same or a mixture of threading models.
It is worth noting that every new object requested is initialized according to its threading model, which is done internally and transparently. Furthermore, libThr is an 'in-proc' library, which implies that its code runs in the same process that has opened an instance of it. Its usage is primarily intended to facilitate the simultaneous use of multiple OLE objects, whether existing objects or running your services and libraries.
Using libThr, developers can concentrate on implementing their object's functionality rather than worrying about synchronization and scheduling details. This software component simplifies multitasking and significantly enhances performance, making it a valuable addition to the developers' toolbox.
Version 2.70.058: N/A