Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core context code: add support for a global processing context
The newly introduced CONTEXT_GLOBAL represents the current flow of script execution. It is a more uniform way of handling the majority of async script usage scenarios. The initial direction (by simply using CONTEXT_MSG) runs into too many problems: * portions of code where the "current sip_msg" is unavailable * concurrency issues (insufficient referencing) due to sip_msg cloning logic in tm, which also clones the context, but fails to properly count possible additional dialog references CONTEXT_MSG logic will be removed in a future commit.
- Loading branch information
1 parent
7eaf122
commit 78c8035
Showing
4 changed files
with
66 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters