Skip to content

No gettimeofday on Windows #98

@headius

Description

@headius

For jruby/jruby#4393 we added gettimeofday to jnr-posix. Unfortunately, it is not supported on Windows (jruby/jruby#4565).

I'm doing a workaround that uses System.currentTimeMillis on Windows. This won't preserve microsecond accuracy, but it will work.

We need to do the additional logic to make an appropriate gettimeofday on Windows. I found at least one SO post describing how: http://stackoverflow.com/questions/1676036/what-should-i-use-to-replace-gettimeofday-on-windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions