blackberry.com
BlackBerry Dynamics
Runtime library for macOS applications
from the application developer portal

Thread support statement

BlackBerry Dynamics applications can make use of the concurrent execution features provided by the operating system.

However, there are certain BlackBerry Dynamics activities that all must take place in the same thread. These are listed below. The thread is referred to as the BlackBerry Dynamics thread. It will be the application main thread.

End-User Authorization
The authorize (GDMac) functions must be called in the BlackBerry Dynamics thread. The authorize (GDMac) event-handling delegate callbacks will be executed in the BlackBerry Dynamics thread.
Push Notification
All GDPushChannel objects must be initialized in the BlackBerry Dynamics thread, and only have their methods called in that thread. Their event-handling delegate callbacks will be executed in the BlackBerry Dynamics thread.

The following BlackBerry Dynamics activities may take place in any thread: Secure SQL Database access, Secure File System access.

See also:
Concurrency Programming Guide on the apple.com developer website.