No more compilation error with threads