Closed kolo closed 6 years ago
This PR guards responses map in clientCodec with a mutex. It is necessary because map is not safe for concurrent use.
responses
clientCodec
Test_ConcurrentCalls has been added to the test suite. It is meant to be run with -race flag.
Test_ConcurrentCalls
-race
This PR extends #42.
What?
This PR guards
responses
map inclientCodec
with a mutex. It is necessary because map is not safe for concurrent use.Test_ConcurrentCalls
has been added to the test suite. It is meant to be run with-race
flag.This PR extends #42.