Project

General

Profile

« Previous | Next » 

Revision eee13fa3

Added by david.sorber over 2 years ago

First mostly functional version; let's call it v0.1.0.

View differences:

src/CopyManager.h
{
public:
// Maximum "count" size per sendfile() documentation
static inline size_t MAX_COPY_SIZE{0x7ffff000};
static inline const sfs::directory_entry ENTRY_TERMINATOR{};
CopyManager(CopyManagerOptions& options);
......
void mainThreadBody();
void processThreadBody();
void copyThreadBody();
CopyManagerOptions& r_options;
......
std::atomic_bool m_terminate;
std::thread* p_mainThread;
std::vector<std::thread*> m_procThreads;
std::vector<std::thread*> m_copyThreads;
};

Also available in: Unified diff