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

LibC::TimeVal#tv_sec is TimeT #599

Closed
wants to merge 1 commit into from

Conversation

jhass
Copy link
Member

@jhass jhass commented Apr 30, 2015

That means it's architecture dependent

This fixes sleep on 32bit platforms, probably among
a host of other stuff.

That means it's architecture dependent

This fixes sleep on 32bit platforms, probably among
a host of other stuff.
@asterite asterite closed this in 86d387c May 1, 2015
@asterite
Copy link
Member

asterite commented May 1, 2015

@jhass I basically did what you proposed, except you had a small typo in the second case.

@jhass
Copy link
Member Author

jhass commented May 1, 2015

Sigh, I wish I hadn't done that typo, it was too late :(

Your fix is invalid, t.tv_sec = seconds.to_i64 fails.

@jhass jhass mentioned this pull request May 1, 2015
asterite pushed a commit that referenced this pull request May 3, 2015
@jhass jhass deleted the fix_32bit_sleep branch June 24, 2015 11:31
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