MCPcopy Create free account
hub / github.com/AIRLegend/aitrack / transferThreadFunc

Method transferThreadFunc

PS3Driver/src/ps3eye.cpp:376–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void USBMgr::transferThreadFunc()
377{
378 SetThreadName("PS3EyeDriver Transfer Thread");
379
380 struct timeval tv;
381 tv.tv_sec = 0;
382 tv.tv_usec = 50 * 1000; // ms
383
384 while (!exit_signaled)
385 {
386 libusb_handle_events_timeout_completed(usb_context, &tv, NULL);
387 }
388}
389
390int USBMgr::listDevices( std::vector<PS3EYECam::PS3EYERef>& list )
391{

Callers

nothing calls this directly

Calls 1

SetThreadNameFunction · 0.85

Tested by

no test coverage detected