multi-thread support
tasinco opened this issue · 3 comments
tasinco commented
Can you put put a mutex around TypeRegistery
/registerSiType
and make the library thread safe?
https://github.com/itering/scale.go/search?q=TypeRegistry&type=code
https://github.com/itering/scale.go/search?q=registeredSiType
more??
freehere107 commented
@tasinco OK,thank you for the feedback, I will add it as soon
ioannist commented
Can you put put a mutex around
TypeRegistery
/registerSiType
and make the library thread safe?https://github.com/itering/scale.go/search?q=TypeRegistry&type=code https://github.com/itering/scale.go/search?q=registeredSiType more??
Did you figure out how to make this thread-safe yourself? Any other variables we need to protect?
freehere107 commented
@tasinco This issue has been fixed. If you have any questions, please tell me.