Opened 10 years ago

Last modified 9 years ago

#5413 task new

— at refactor pollingfile._PollableWritePipe as a subclass of abstract.FileDescriptorInitial Version

Reported by: zseil Owned by:
Priority: normal Milestone:
Component: core Keywords: windows
Cc: Branch:
Author:

Description

I started filling bugs with #5412, but then found #2839, #2835 and that:

  1. writeSequence doesn't pause the producer when outgoing buffer is full,
  2. data written with write gets dropped while the pipe is still disconnecting,
  3. bufferEmpty sets producerPaused attribute on the producer instead of on itself, consequently producer.resumeProducing can get called too many times.

I think that refactoring pollingfile._PollableWritePipe as a subclass of abstract.FileDescriptor will be less work than fixing all these bugs.

Change History (0)

Note: See TracTickets for help on using tickets.