MCPcopy Create free account
hub / github.com/bdring/FluidNC / executeCommandBackground

Method executeCommandBackground

FluidNC/src/WebUI/WebClient.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 void WebClient::executeCommandBackground(const char* cmd) {
115 xBufferLock.lock();
116 cmds.push_back(std::string(cmd));
117 WebClient* _this = this;
118 xQueueSend(WebClients::_background_task_queue, &_this, portTICK_PERIOD_MS * 100);
119 xBufferLock.unlock();
120 }
121
122 size_t WebClient::write(const uint8_t* buffer, size_t length) {
123 if (_silent || !_active) {

Callers 1

synchronousCommandMethod · 0.80

Calls 2

lockMethod · 0.80
unlockMethod · 0.80

Tested by

no test coverage detected