Fabiano Rosas <faro...@suse.de> wrote: > Juan Quintela <quint...@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.