public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: goredo-devel@lists.cypherpunks.su
Subject: Re: Handling EINTR in unix.FcntlFlock
Date: Tue, 7 Jan 2025 14:05:46 +0300 [thread overview]
Message-ID: <Z30Kspu9EJnkzD91@stargrave.org> (raw)
In-Reply-To: <5d578ee9-d843-43b8-bb4d-6a74d4c409fb@jnboehm.com>
[-- Attachment #1: Type: text/plain, Size: 626 bytes --]
*** 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2025-01-07 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-04 9:59 Handling EINTR in unix.FcntlFlock Niklas Böhm
2025-01-04 12:43 ` Sergey Matveev
2025-01-04 14:04 ` Niklas Böhm
2025-01-07 11:05 ` Sergey Matveev [this message]