Fix race condition while checking if threads are still active.
treec0c5023f7c89696d0c707809ddcabe67e5032597
drwxr-xr-x - AstroToolbox
-rw-r--r-- 3275 CMakeLists.txt
drwxr-xr-x - Functions
drwxr-xr-x - GOclasses
drwxr-xr-x - SolversThreads
drwxr-xr-x - boost_thread
-rw-r--r-- 266 constants.h
drwxr-xr-x - external_headers
-rw-r--r-- 31441 main.cpp