mratsim / weave

A state-of-the-art multithreading runtime: message-passing based, fast, scalable, ultra-low overhead
Other
537 stars 22 forks source link

getMonoTime bug on mac (?) #129

Closed mratsim closed 4 years ago

mratsim commented 4 years ago

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

https://github.com/mratsim/weave/blob/4bb7916f57869e0ebdeb8e60ef98b1fbae86515c/weave/parallel_tasks.nim#L262-L270

I suspect a getMonoTime bug on Mac in Nim.

Impact: need to change my test yet again.

mratsim commented 4 years ago

Race condition on my test that manifested on patforms withslow pthread_create, see https://github.com/mratsim/weave/pull/128#issuecomment-626238695