Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in determining max_run_time with splay #93

Merged

Conversation

j03k64
Copy link
Collaborator

@j03k64 j03k64 commented Apr 14, 2014

Since all child threads use the same seed, we need to reseed the random generator with the pid so that we get a new "random" number. Also using mt_rand instead of rand since it is faster.

Just moving the GearmanPearManager and GearmanPeclManager classes to
their own files.  Nothing to see here, move along home.
Since all child threads use the same seed, we need to reseed the random
generator with the pid so that we get a new "random" number.  Also
using mt_rand instead of rand since it is faster.
brianlmoon added a commit that referenced this pull request Jun 12, 2014
…culation

Fix bug in determining max_run_time with splay
@brianlmoon brianlmoon merged commit 35a97da into brianlmoon:master Jun 12, 2014
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.

2 participants