PDA

View Full Version : Regarding Event mechanism



binunippon
07-08-2007, 10:27 PM
Dear OpenKODE team,

First of all thank to all who have been a part of the development of OpenKODE..

Let me know about the khronos Grp view point on the following:

How will be the OpenKODE event mechanism coexists with other existing event mechanism ?
Is it necessary that all the applications in the system should use the OpeKODE event mechanism and system mechanism as a gateway by making the existing mechanism as its subset?

Would like to discuss on that....

tpr
11-30-2007, 05:27 AM
Hi

Just to clarify: OpenKODE is intended to specify how one application in one process works, and does not say anything about interaction of different processes/applications.

A typical OpenKODE implementation sits on top of facilities provided by the underlying OS. So OpenKODE events usually come from events in the OS's event system.

Therefore other non-OpenKODE applications continue to work as they would, and the OS's event system works as normal.

DDd
02-23-2008, 02:29 PM
I am confused, isn't threading optionally supported in openKode? BTW, how is threading implemented? and what is the threading model? is there a soft memory copy or a hard one, does the system spawn or does it use lightweight processes for threading?

Are you guys talking about some sort of IPC communication?

tpr
02-27-2008, 04:48 AM
Yes, OpenKODE does have threading. The model is a subset of POSIX threads. Each thread has its own event queue; for events from a window, socket or timer, OpenKODE posts the event to the queue for the thread that created the window, socket or timer.

-tpr