| Tracks the files locked by
| PosixEnv::LockFile().
|
| We maintain a separate set instead of relying
| on fcntl(F_SETLK) because fcntl(F_SETLK) does
| not provide any protection against multiple
| uses from the same process.
|
| Instances are thread-safe because all member
| data is guarded by a mutex.
| Implements random read access in a file using
| mmap().
|
| Instances of this class are thread-safe, as
| required by the RandomAccessFile API. Instances
| are immutable and Read() only calls thread-safe
| library functions.
| Implements random read access in a file using
| pread().
|
| Instances of this class are thread-safe, as
| required by the RandomAccessFile API. Instances
| are immutable and Read() only calls thread-safe
| library functions.
| Implements sequential read access in a file
| using read().
|
| Instances of this class are thread-friendly but
| not thread-safe, as required by the
| SequentialFile API.