|Applies To||RSA ACE/Server 5.0.2 (no longer supported as of 8-15-2004)|
|Issue||How 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?
|Resolution||The 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 ID||a16284|