Because a shared buffer was used, it was not possible to do read in one thread, and write in another at the same time. See the (complex...) unit test for proof of this. The issue is fixed by using a dedicated buffer for reading, and a dedicated buffer for writing.
Because a shared buffer was used, it was not possible to do read in one thread, and write in another at the same time. See the (complex...) unit test for proof of this. The issue is fixed by using a dedicated buffer for reading, and a dedicated buffer for writing.