A structure that records the relationship between files and threads.
More...
#include <sttnet_English.h>
A structure that records the relationship between files and threads.
- Note
- Used in subsequent classes to ensure thread safety.
| stt::file::FileThreadLock::FileThreadLock |
( |
const std::string & |
loc, |
|
|
const int & |
threads |
|
) |
| |
|
inline |
The constructor of this structure.
- Parameters
-
| loc | The path used to construct the structure object. |
| threads | The number of threads using the file used to construct the structure object. |
| std::string stt::file::FileThreadLock::loc |
| std::mutex stt::file::FileThreadLock::lock |
| int stt::file::FileThreadLock::threads |
Records how many threads are currently using the file.
The documentation for this struct was generated from the following file: