| 46 | #include <unistd.h> |
| 47 | |
| 48 | void CameraFeedLinux::update_buffer_thread_func(void *p_func) { |
| 49 | if (p_func) { |
| 50 | CameraFeedLinux *camera_feed_linux = (CameraFeedLinux *)p_func; |
| 51 | camera_feed_linux->_update_buffer(); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | void CameraFeedLinux::_update_buffer() { |
| 56 | while (!exit_flag.is_set()) { |
nothing calls this directly
no test coverage detected