This method starts the singleton event loop (OMThread::execute).
Public
virtual void start (int doFork = 0);
doFork
Specifies whether the OMMainThread singleton event loop should run on the application main thread (doFork == 0) or in a separate thread (doFork == 1).
For example, many applications require a GUI with its own library. The Rational® Rhapsody® library has an event queue and a main thread, and the GUI usually has its own event queue. In order for both event queues to work together, you can start the main thread with doFork = 1. This starts the main thread of the GUI and forks a new thread for the Rational Rhapsody library.