Serial Framework C++ Edition

◆ wclMessageSynchronizationKind

Message synchronization methods used to inter-threading synchronization and notification.

Enumerator
skMessages 

Default synchronization method based on Windows Messages.

This synchronization is recommended for single threading UI applications.

skThread 

Asynchronous notifications. All events fire in a separate thread. An application is responsible for the synchronization with UI thread. Must be used carefully.

Your application should not use this synchronization method except just a few cases. Use skApc instead.

skApc 

Asynchronous Procedure Call (APC) synchronization.

This synchronization method is good for non-UI or multi-threading applications. It can be used in UI applications but your application must process APC manually.