Re: [OMPI devel] RFC: Add an __attribute__((destructor)) function to opal

2014-07-15 Thread Pritchard, Howard r
Hi Folks, Is the opal library explicitly closed by a dlclose? I don't think there's anything wrong with using ctor/dtors in shared libraries, but one does need to make sure that in these functions there's no assumptions about ordering of them wrt to other ctors/dtors.shared libraries explic

Re: [OMPI devel] RFC: Add an __attribute__((destructor)) function to opal

2014-07-16 Thread Pritchard, Howard r
HI Folks, I vote for solution #1. Doesn't change current behavior. Doesn't open the door to becoming dependent on availability of ctor/dtor feature in future toolchains. Howard -Original Message- From: devel [mailto:devel-boun...@open-mpi.org] On Behalf Of Nathan Hjelm Sent: Wednesda