I'm writing a library using openthreads. I cannot
gaurantee whether or not OpenThreads::Thread::Init() is
called outside the library. So I am calling it inside a
singleton class constructor. However, one use of this
library is in an OSG project. It would really be
helpful to know if calling Init() a second time is safe
or have a way to check if it has been called already.
Log in to post a comment.