Global Call API for HMP on Windows Programming Guide — August 2006 75
Event Handling
disabled when using an application-handler thread wherein a separate event handler thread is
created within the application that calls the sr_waitevt( ) and gc_GetMetaEvent( ) functions.
For an application-handler model, use the asynchronous with SRL callback model but set the
SR_MODELTYPE value to SR_STASYNC to disable the creation of the internal SRL event
handler thread.
Note: An application-handler thread must not call any synchronous functions.
See the Standard Runtime Library API Programming Guide for the hierarchy (priority) order in
which event handlers are called.