- From: Adam Rice <notifications@github.com>
- Date: Thu, 27 Apr 2017 23:33:28 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 28 April 2017 06:34:02 UTC
> I'm assuming that reader.close() releases the lock and closes the writer, and that subsequent calls to getWriter will create a new writer for the same stream, but I was a bit confused in the spec by the closeRequest slot which gave me the impression that calling close on a writer closes the stream itself. It's actually `releaseLock()` that releases the lock and detaches the writer. `close()` requests the stream to close. It's possible to call `releaseLock()` while the close is in progress, and the writer will be detached but the close will continue. I didn't realise that the semantics were confusing. Thank you for the feedback. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/163#issuecomment-297918935
Received on Friday, 28 April 2017 06:34:02 UTC