Yeah, as far as I know. I commented out as much as possible ending up with the following code, which still produces the error/bug.
bool RenderSingleBucket(unsigned int threadId)
float r = Math::RandFloat();
float g = Math::RandFloat();
float b = Math::RandFloat();
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
for(unsigned int i = 0; i < 8; i++)
boost::thread* t=new boost::thread(&RenderSingleBucket, i);