Patent ID: 6829771
Filing Date: 2004-12-07
Classification: G06F

Abstract:
A process in a data processing system for dispatching events, the process comprising the data processing system implemented steps of:receiving an event from a first object; identifying a type for the event; selecting a dispatching strategy for the event based on parameter settings, a source of the event, and default settings to form a selected dispatching strategy; dispatching the event using the selected dispatching strategy; and wherein the selected dispatching strategy is one of a group of strategies including running in a thread of a caller, queuing and running in a worker's thread, and creating a new thread by a thread dispatcher for running and wherein running the event in a caller's thread is performed synchronously, queuing the event notifies the worker thread about a queued event for asynchronous dispatch and returns to the caller's thread, and creating the new thread passes the event to the new thread for asynchronous dispatch and returns to the caller's thread.