Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jjgreen
on Nov 23, 2022
|
parent
|
context
|
favorite
| on:
Safely writing code that isn't thread-safe
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
on Nov 23, 2022
[–]
I agree, and with multiple processes that's just a single mmap() call away!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: