Studio:Are multiple callbacks possible?: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Due to the single-threaded nature of most applications, once an off-target owner function is called, the owner may not call back into it. However, multiple callbacks may be done by using a short-term local timer which may continue processing after returning control back to the application and unblocking it. If callbacks are called from different threads it is possible that multiple callbacks are called at the same time.
Due to the single-threaded nature of most applications, once an off-target owner function is called, the owner may not call back into it. However, multiple callbacks may be done by using a short-term local timer which may continue processing after returning control back to the application and unblocking it. If callbacks are called from different threads it is possible that multiple callbacks are called at the same time.
[[Category:Scripting]]

Revision as of 21:31, 5 February 2008

Due to the single-threaded nature of most applications, once an off-target owner function is called, the owner may not call back into it. However, multiple callbacks may be done by using a short-term local timer which may continue processing after returning control back to the application and unblocking it. If callbacks are called from different threads it is possible that multiple callbacks are called at the same time.