This sample demonstrates asynchronous event handling. The schema declares <new>, <update> and <delete> events that are registered at runtime. The appropriate event handlers (call back functions) are called when an object is created, deleted or updated. The event handlers execute in a separate thread that is blocked waiting on the event or explicit release by
mco_async_release()
.
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bin
directory:10_events_asynchBut it is more instructive to run it in your development environment debugger, stepping through the code.