Fix race on thread creation
authorShadowNinja <shadowninja@minetest.net>
Mon, 7 Mar 2016 21:55:32 +0000 (16:55 -0500)
committerShadowNinja <shadowninja@minetest.net>
Thu, 28 Apr 2016 17:21:46 +0000 (13:21 -0400)
commit46fd114e9a4e05b74576dce682e24357363298e7
tree78eebcdc7f2b76c52ed4ad0b85600cdfcbcce018
parente41673820ffe200df78b1ec185ccb9d9ca962ae1
Fix race on thread creation

This often broke the threading tests on OSX.
src/threading/thread.cpp
src/threading/thread.h