]> git.mxchange.org Git - simgear.git/commit
Ensure sglog() singleton is threadsafe.
authorJames Turner <zakalawe@mac.com>
Wed, 4 Sep 2013 07:32:05 +0000 (08:32 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 4 Sep 2013 07:45:06 +0000 (08:45 +0100)
commitdd93eb88f2cac2a2eb70c739f49efb8b829dbd67
tree1d9e689e4183ae2bb19fec98b96f6f02072dc057
parente06f9e35b30a7cdb62ec3659dcf8e751c1d104b3
Ensure sglog() singleton is threadsafe.

Slightly simplistic, but definitiely correct, method
for ensuring singleton creation is threadsafe. Can
be optimised if lock contention is ever an issue.
simgear/debug/logstream.cxx