MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / update_buffer_thread_func

Method update_buffer_thread_func

modules/camera/camera_feed_linux.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46#include <unistd.h>
47
48void 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
55void CameraFeedLinux::_update_buffer() {
56 while (!exit_flag.is_set()) {

Callers

nothing calls this directly

Calls 1

_update_bufferMethod · 0.45

Tested by

no test coverage detected