What is the TIB/ObjectBus thread policy?

What is the TIB/ObjectBus thread policy?

book

Article ID: KB0091654

calendar_today

Updated On:

Products Versions
Not Applicable -

Description

Resolution:
TIB/ObjectBus programs can be single- or multi-threaded. Starting a program creates a main thread of execution, and unless the program explicitly creates subsequent threads, it will run entirely in the main thread, in single-threaded mode.
&ltbr&gtYou can also create a pool of threads that share a common event queue, and this allows you to redirect events from the thread that opened the asynchronous interaction to the queue that feeds the pool event-handling threads. &ltbr&gtThis allows several threads to use the event-handling code simultaneously, which improves the processing of the invocations or callbacks. &ltbr&gtCreating this thread pool simply requires the addition of 2 function calls to your code.&ltbr&gtIn an example of this, a server program could create and run an implementation object in its main thread, but redirect the invocation events from the main thread to a pool of event-handling threads. &ltbr&gtThese threads would share access to the implementation object, and improve the processing of invocations on it. &ltbr&gtThe main thread could carry out other tasks while the pooled threads handled the events.

Environment

Product: TIBCO ObjectBus Version: 3.0.0 OS: All --------------------

Issue/Introduction

What is the TIB/ObjectBus thread policy?