The Enterprise Message API is designed to allow sending data from multiple threads. So, the applications can scale their work across multiple cores by creating multiple threads to handle multiple connections through the Enterprise Message API.
You can configure EmaCppNIProvPerf for multiple threads via the -threads command-line option. When you configure multiple threads, each thread opens its own connection to the LSEG Real-Time Advanced Distribution Hub, and the list of items is divided among all threads. You can use the -itemCountoption to control the number of items that will be sent across all threads.
The main thread monitors the other threads and then collects and reports their statistics.