Skip to content

Updated RemoteSpace to have a gate for each thread, to avoid threads …#26

Open
JBcoding wants to merge 1 commit intopSpaces:masterfrom
JBcoding:featureGateForEachThread
Open

Updated RemoteSpace to have a gate for each thread, to avoid threads …#26
JBcoding wants to merge 1 commit intopSpaces:masterfrom
JBcoding:featureGateForEachThread

Conversation

@JBcoding
Copy link

@JBcoding JBcoding commented Jan 7, 2020

…with blocking calls blocking other threads

If two threads, T1 and T2 share a RemoteSpace object, and T1 makes a blocking call like get, then T2 can not use the RemoteSpace before T1's get terminates.

This is fixed by adding a gate for each thread, identified by the thread id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant