On Fri, Mar 06, 2009 at 06:52:05PM -0800, Kenton Varda wrote:
> On Fri, Mar 6, 2009 at 6:41 PM, Marc Vaillant <m...@jhu.edu> wrote:
>     Static is dangerous in multithreaded scenarios for obvious reasons.
>     These issues just add more complications.
> Static constants are not dangerous.  All of the data structures involved here
> are built once and then become read-only for the life of the process.  Static
> variables which are modified at runtime -- aka singletons -- are very bad and
> should never be used.

Except that you still have the shared lib load/unload problem :)


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to