shared readable/writable.
Merge pull request #2 from mattn/win32

shared readable/writable.