Y
Hacker News
new
|
ask
|
show
|
jobs
by
vhost-
3991 days ago
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.
1 comments
ajankovic
3991 days ago
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.
link