fixed race condition in the signalling between the rx and tx threads

Just checked again - the patch is fine.  I think the move to immediate acks
is good too as it improves performance in all my tests - but it doesn't
have to be included if not ready right now.

On Mon, Nov 3, 2014 at 12:36 AM, Anil Madhavapeddy <notifications@github.com
> wrote:

> In tcp/pcb.ml:
>
> > @@ -33,7 +33,7 @@ module Make(Ipv4:V1_LWT.IPV4)(Time:V1_LWT.TIME)(Clock:V1.CLOCK)(Random:V1.RANDOM
> >
> >    module RXS = Segment.Rx(Time)
> >    module TXS = Segment.Tx(Time)(Clock)
> > -  module ACK = Ack.Delayed(Time)
> > +  module ACK = Ack.Immediate
>
> Balraj: checking in on this change -- can I revert the move to Immediate
> acks and take the rest of the patch?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mirage/mirage-tcpip/pull/69/files#r19716749>.
>