3 ms·
Tosh, a lot of use-cases need shared read-only access to a large structure, mark that const* and you can thread away without a mutex in sight, each thread has i
by jjgreen 4y ago
Tosh, a lot of use-cases need shared read-only access to a large structure, mark that const* and you can thread away without a mutex in sight, each thread has it own r/w struct to accumulate results.
- aidenn0 4y agoI agree, and with multiple processes that's just a single mmap() call away!