Subject: Re: Handling EINTR in unix.FcntlFlock

From: Sergey Matveev <[email-masked]>
Date: Tue, 7 Jan 2025 14:05:46 +0300

*** Niklas Böhm [2025-01-04 15:04]:
>Now that I was looking at the implementation, would it maybe make sense to
>change the sleep time from 10ms to something a bit more randomized?

I am not sure that goroutine scheduler, OS'es schedulers delays are not
jitter-ed enough, but adding randomised sleep time is easy thing, so why not.
Added in d0d5eb2605461569e985f9d502162b0f54392873 commit master branch.
Not sure if it is so important to make a release for that change, so it
will appear in the next one.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A