Cluster_MT

This sample demonstrates the use of multiple listener threads. This technique may be advisable for applications having “heavy” transactions (i.e. transactions which operate on many objects requiring updates to many indexes, etc.).

How to Run

In a console window run:

 
    cluster_mt 2 0
     

Then in a second console window run:

 
    cluster_mt 2 1
 

But it is more instructive to run one instance in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics