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

Use getaddrinfo instead of gethostbyname for thread safety #28

Merged
merged 1 commit into from Jul 27, 2016

Conversation

randomjohnnyh
Copy link

See dmlc/xgboost#1394 for context.

I'm assuming that Rabit is intended to support running multiple Rabit threads. This is useful with xgboost4j-spark since Spark usually uses many cores per executor.

I'm surprised this issue hasn't shown up before.

@tqchen tqchen merged commit 2dd7476 into dmlc:master Jul 27, 2016
@tqchen
Copy link
Member

tqchen commented Jul 27, 2016

Thanks for the PR!

@tqchen
Copy link
Member

tqchen commented Jul 27, 2016

please also bring a PR to update rabit version on the xgboost side

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.

None yet

3 participants