Skip to content

getMonoTime bug on mac (?) #129

Description

@mratsim

The change to the following time delay is seem to be guaranteed deadlock on Azure.

proc sleepingLion(stop_ms: int64): int64 =
let start = getMonoTime()
while true:
let elapsed = inMilliseconds(getMonoTime() - start)
if elapsed >= stop_ms:
return elapsed
dummy_cpt()

I suspect a getMonoTime bug on Mac in Nim.

Impact: need to change my test yet again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions