Skip to content

Conversation

@dustinhiatt-wf
Copy link
Contributor

CODE REVIEW

Apparently, the RNG is not threadsafe. Need to protect that in the package. Allocating a new generator at every run proved to be more costly than protecting with lock.

@tannermiller-wf @alexandercampbell-wf @beaulyddon-wf @rosshendrickson-wf @ericolson-wf @stevenosborne-wf @tylertreat-wf

@alexandercampbell-wk
Copy link
Contributor

+1

2 similar comments
@tannermiller-wf
Copy link
Contributor

+1

@tylertreat-wf
Copy link
Contributor

+1

dustinhiatt-wf added a commit that referenced this pull request Feb 9, 2015
@dustinhiatt-wf dustinhiatt-wf merged commit e06c937 into master Feb 9, 2015
@alexandercampbell-wk alexandercampbell-wk deleted the generator_threadsafety branch February 11, 2015 14:44
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.

5 participants