Concurrent File Access

uses retry on file open

1.0 Responsibilities

CppConcurrentFileAccess provides a small library for opening, using, and closing files in a concurrent user environment.

2.0 Implementation

Both readers and writers attempt to open standard file streams. Open may fail because another user has already opened the file. The opener tests open success, and if failed, it sleeps for a specified time and tries again. It will do that a specified number of times before declaring open failure. This retry facility should work well for a Mult-threaded File Server.

3.0 Build

CppConcurrentFileAccess was built with Visual Studio Community Edition - 2019, and tested on Windows 10.