Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msg/async: add "bool unregistered" to avoid check whether in deleted_…
…conns. We don't use deleted_lock to protect func is_unregistered. This because if race occur, func send_message still check state of AsyncConnection and skip this message. Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
- Loading branch information
1 parent
45c300a
commit 5b7992a
Showing
2 changed files
with
17 additions
and
4 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