On Oct 14, 2:30 pm, Evan Jones <[email protected]> wrote: > On Oct 14, 2010, at 11:32 , CB wrote: > > > Actually, yes, we have a shared library containing our protobuf code, > > which we do load with dlopen. A command line option tells the app > > which protocol it needs to use, and the app loads the appropriate > > library. The open only happens once, very shortly after program > > launch. We're not constantly loading and unloading. > > Do you ever call dlclose() on this library? Protobuf has some > complicated initialization time and shutdown clean up code buried in > descriptor.cc that I don't really understand. At the very least, there > is a call to this: >
No, we never dlclose() it. Once open it stays open until the program exits. -- 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.
