000020372 - How are asynchronous callback functions scheduled in RSA ACE/Server?

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000020372
Applies ToRSA ACE/Server 5.0.2 (no longer supported as of 8-15-2004)
IssueHow are asynchronous callback functions scheduled in RSA ACE/Server?
For example, on the main program thread, aceInit is called. The call specifies a callback function that calls aceSetUserid and aceLock. On the main thread, a call to aceClose is made, but it can be seen that the callback specified in the aceLock call continues to execute even though the aceClose call has finished. Why is this?
ResolutionThe aceInit call creates a thread used by all subsequent ace* calls, including their callback functions. Once the aceInit inner thread has started, all functions in its call chain will finish before any calls started on the main thread are allowed to run.
Legacy Article IDa16284

Attachments

    Outcomes