> b) Or immutable complex data structures, like server config, code below won't > compile:
I think the only viable solution to that is to make server a global and protect it with locks.
> b) Or immutable complex data structures, like server config, code below won't > compile:
I think the only viable solution to that is to make server a global and protect it with locks.