Hacker News new | ask | show | jobs
by gwbas1c 469 days ago
Forgot about memory mapping.

In that case it probably makes more sense to have a shared queue of files, and each thread handles a single file at a time. It'll avoid the overlap issue.