Open topic with navigation

# multithread.c

The `multithread.c` example program is for use on the Linux platform.

This sample program demonstrates the use of multiple eduction sessions associated with a single eduction engine running in parallel.

This program takes arguments of the names of the text files to process. The program has the following stages:

1. The program creates and configures an eduction engine.
2. The program creates a worker thread for each text file.

3. The worker thread starts with the eduction engine and the text file. This worker thread:

   - creates a session associated with the eduction engine.
   - adds text from the text file to the session.
   - performs an entity extraction of the text.
4. The main program then waits for each thread to finish extraction, exit, and join.

© 2013-2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm