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

Update timestamp usage #60

Closed
wants to merge 2 commits into from

Conversation

mmmries
Copy link

@mmmries mmmries commented May 4, 2016

I was testing out a few things with this library and noticed that it was failing to compile under Erlang/OTP 18+ because of the usage of erlang:now(). Not sure if this is the right move for the overall project, but if other people want to build this on more recent versions of erlang they might want to make a similar patch.

The deprecation information is documented in the erts docs for why they deprecated this.

@whitfin
Copy link

whitfin commented May 4, 2016

FWIW #58 covers this in a slightly more elegant way

@mmmries
Copy link
Author

mmmries commented May 4, 2016

@zackehh thanks for the reference. I hadn't thought of timer:tc, but obviously that is a more backwards-compatible way to handle this issue since it has been supported for many versions now.

I was also unaware of the erts_exit issue. Thanks for pointing out your PR.

@mmmries mmmries closed this May 4, 2016
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