+
+ #ifndef OMP_THREADED
+ #ifndef BARNES_HUT
+ glutMainLoop(); // the mthread and single-thread versions can just start the loop here
+ // In OpenMP, because barriers have to be within the #pragma, need glutMainLoopEvent in the #pragma
+ #endif //BARNS_HUT
+ #endif //OMP_THREADED