This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: multithreading in Voxel SDK



Tool/software: Linux

Further to exploring the two threads used per camera,

I see the following code in class USBBulkStreamer::USBBulkStreamerPrivate

captureThread = Ptr<Thread> (new Thread(&USBBulkStreamerPrivate::run, this));

Is that the point where the depth capture thread is created ?

Doesn't that mean there are three threads now - Parent thread which was executing start() function of USBBulkStreamerPrivate class

and the thread that keeps waiting for frames  in run() function (passed as argument to new Thread create )

and the thread for PCl rendering ?