This method is the thread main loop function. By default, this protected function processes the events in the queue of the thread. See Using the execute methodfor details.
Public
virtual OMReactive* execute();
This method returns OMReactive, which specifies the reactive class that "owns" the thread (active).
You might prefer to put a general fallback handler in the main loop of OMThread in the execute method. You can also add exception handling as a conditional code segment that is disabled by default.
You can override execute to specialize different thread behaviors. For example, you can create an active class that is not reactive.