start

This method activates the thread to start its event-processing loop.

If an object has its own thread, when the object is created, the thread is suspended. The start method is used to start event processing. This enables an active class to initialize itself by calling the startBehavior method, then to call the start method to start event processing.

The start method works in the following way:

In this situation, the thread is registered, but does not take control. Another thread (for example, a GUI thread) will be responsible for event loop processing.

Visibility
Public
Signature
virtual void start(int = 0);
Notes

Feedback