[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] multifd: Fix the number of channels ready
From: |
Juan Quintela |
Subject: |
Re: [PATCH] multifd: Fix the number of channels ready |
Date: |
Wed, 26 Apr 2023 19:35:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Fabiano Rosas <farosas@suse.de> wrote:
> Juan Quintela <quintela@redhat.com> writes:
>
>> We don't wait in the sem when we are doing a sync_main. Make it wait
>> there. To make things clearer, we mark the channel ready at the
>> begining of the thread loop.
>
> So in other words we're estabilishing that "channel ready" means ready
> to send, regardless of having sent the sync packet. Is that it?
Yeap.
There was a bug (from the beggining) that made the counter always get
up and up. This fixes it.
It was always supposed to work this way.
/me puts (second time in the week) a brown paper bag on head
Later, Juan.