Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WRITER:
- lock file
- write file
- release file
- READER:
- lock file
- read file
- release file
- WRITER:
- lock temp file
- write temp file
- lock file
- copy temp to file
- release file
- release temp
- delete temp
- READER:
- lock file
- read file
- release file
- WRITER:
- lock temp file
- write temp file
- lock file
- create copying flag
- copy temp to file
- delete copying flag
- release file
- release temp
- delete temp
- READER:
- lock file
- if copying flag exists
- copy temp to file
- delete copying flag
- delete temp
- end
- read file
- release file
- WRITER:
- lock file
- write temp file
- create copying flag
- copy temp to file
- delete copying flag
- delete temp
- release file
- READER:
- lock file
- if copying flag exists
- copy temp to file
- delete copying flag
- delete temp
- end
- read file
- release file
- WRITER:
- lock
- write temp file
- create copying flag
- copy temp to file
- delete copying flag
- delete temp
- release
- READER:
- lock
- if copying flag exists
- copy temp to file
- delete copying flag
- delete temp
- end
- read file
- release
- WRITER:
- lock file
- write file position to pos-file
- write file
- remove pos-file
- unlock file
- WRITER:
- lock file
- write writing-in-progress-file
- write file
- remove writing-in-progress-file
- unlock file
Add Comment
Please, Sign In to add comment