Threading Question

  • AbeOpenGL
    Likes 0

    Problem Description

    How do I apply one or more threads for ray tracing in the following: 

     

    void RayTracer::traceImage(int w, int h, int bs, double thresh)

    {

    }

     

    *** *** ***

    I know it will be something like: 

        std::thread FirstName;

     

  • AbeOpenGL
    Likes 0

    I see this on stckoverflow http://stackoverflow.com/questions/31578923/how-to-create-and-start-a-thread-in-c  

    not sure about these passed parameters   (int w, int h, int bs, double thresh)

  • Sonar Systems admin
    Likes 0

    As we spoke over email, lets see what your tutor says.

Login to reply