Move release/block threads code to POSIX file.

Add README.