Skip to content
This repository was archived by the owner on Jun 27, 2022. It is now read-only.

Allow LogData to be called in multi threaded environment#5

Open
jadrefke wants to merge 1 commit intosaguiitay:masterfrom
jadrefke:master
Open

Allow LogData to be called in multi threaded environment#5
jadrefke wants to merge 1 commit intosaguiitay:masterfrom
jadrefke:master

Conversation

@jadrefke
Copy link

@jadrefke jadrefke commented Jul 26, 2019

HashAlgorithm.ComputeHash() is not thread safe, and multiple actors cannot call ComputeHash concurrently without errors. Locking around that call to serialize hash generation allows this object to be called in a multi threaded environment.

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.

1 participant