marschall / memoryfilesystem

An in memory implementation of a JSR-203 file system
282 stars 36 forks source link

Review BlockChannel read locks #109

Open marschall opened 6 years ago

marschall commented 6 years ago

Maybe the locks in the following methods should be upgraded to write locks com.github.marschall.memoryfilesystem.BlockChannel.read(ByteBuffer) com.github.marschall.memoryfilesystem.BlockChannel.read(ByteBuffer[], int, int)