Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do handle configuration? Your program starts up, generates some settings, then those need to be shared across all threads to avoid incurring the cost of regenerating during every call to a function.


But in that case config values are to be treated as constants (read only). You don't have concurrency issues for code that doesn't change.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: