On 8/9/16 9:25 PM, Nathan Kidd wrote:
> In my experience the _init()/_fini() calling sequence is at least system
> dependent (I could reproduce things on one Linux distro, not another),
> and I don't suppose Linux is that different from Solaris when it comes
> to the insanity described here:
> https://blogs.oracle.com/rie/entry/init_and_fini_processing_who

Yeah, and I strongly suspect that the faker's C++ global static
destructor is called from within the same function that would call
whatever C destructor I would implement, which is probably why I opted
for the C++ destructor approach to begin with.  As far as Solaris
dynamic linking, don't get me started ...  :|  Literally half of the
time I spent at Sun was spent chasing down Solaris-specific issues (at
the time, we still had to support Solaris 8, so I couldn't even rely on
things like mktemp and which and bash being available.  I do not miss
those days.)

One thing I will say is that my assertions regarding shared memory may
be out of date, because of the above.  Would probably be good to re-test
that.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
VirtualGL-Devel mailing list
VirtualGL-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel

Reply via email to