-
-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: potentially fix timeout handler
I have seen curious cases where timeouts just didn't seem to trigger as the they should have. My guess was that the void * pointer to the location of the shared_ptr in the map was just a bad idea in the first place. So I changed it to just a uint64_t handle which is easier to debug and should always be unique. I also changed from a std::map to a std::vector, however, the jury is out on what is actually faster for our usage.
- Loading branch information
Showing
2 changed files
with
44 additions
and
38 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