You can only use the Acrobat API in your main thread. All other threads
need to communicate with the main thread if they need to use the Acrobat
API. This means that you need to e.g. implement a command queue in your
main thread that it processes, and that gets filled by your other threads.