This is not thread safe of course, it is not intended to be. This was implemented as at one stage ARDOUR::init was being called multiple times in the testsuite which was causing a subtle bug that took some time to track down.