MCPcopy Create free account
hub / github.com/SmingHub/Sming / destroyKeyboardThread

Function destroyKeyboardThread

Sming/Arch/Host/Components/driver/uart_server.cpp:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94KeyboardThread* keyboardThread;
95
96void destroyKeyboardThread()
97{
98 if(keyboardThread == nullptr) {
99 return;
100 }
101
102 keyboardThread->terminate();
103 delete keyboardThread;
104 keyboardThread = nullptr;
105}
106
107void uartConsoleNotify(smg_uart_t* uart, smg_uart_notify_code_t code)
108{

Callers 2

uartConsoleNotifyFunction · 0.85
shutdownFunction · 0.85

Calls 1

terminateMethod · 0.45

Tested by

no test coverage detected