Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@benaadams
Copy link
Member

@benaadams benaadams commented Apr 8, 2019

So _handleToContextMap can be accessed in parallel (per instance) rather than single threaded (per process) in GetContextFromHandle

Otherwise it defeats the purpose of having multiple engines if every instance dictionary lookup needs to go via a process level lock?

/cc @tmds @stephentoub @geoffkizer

@benaadams benaadams changed the title [RFC] Use class level lock for SocketEngine Use class level lock rather than process level for SocketEngine Apr 8, 2019
@benaadams benaadams closed this Apr 8, 2019
@benaadams benaadams reopened this Apr 8, 2019
@benaadams benaadams changed the title Use class level lock rather than process level for SocketEngine Use instance level lock rather than process level for SocketEngine Apr 8, 2019
@benaadams benaadams closed this Apr 9, 2019
@benaadams benaadams deleted the socket-engine branch April 29, 2019 20:54
@karelz karelz added this to the 3.0 milestone May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants