On Fri, Mar 06, 2009 at 06:52:05PM -0800, Kenton Varda wrote: > On Fri, Mar 6, 2009 at 6:41 PM, Marc Vaillant <[email protected]> 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 :) Marc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---
