On Sunday, 8 December 2013 at 10:31:32 UTC, Mathias LANG wrote:

Thank you, and yazd, it did the trick.
May I ask why I don't want to call it multiple time though ?
From the sentence "If the runtime was already successfully initialized this returns true.", I though this was handled in some way. Or do you mean, multiple time in case of multiple libraries ?

rt_term at least will [did] segfault when you call it a second time. So just don't have N shared libs each with a ctor calling rt_init and dtor calling rt_term.

Reply via email to