MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / runClient

Function runClient

test/common/unit_test_arbitrator_app0.cpp:93–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void runClient(void *arg)
94{
95 ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
96
97 // send to ERPC second (server) app message that this app is ready.
98 whenReady();
99
100 __attribute__((unused)) int i;
101 i = RUN_ALL_TESTS();
102
103 // wait until ERPC second (server) app will announce ready to quit state.
104 while (true)
105 {
106 Mutex::Guard lock(waitQuitMutex);
107 if (waitQuit != 0)
108 {
109 break;
110 }
111 }
112
113 // send to ERPC second (server) app ready to quit state
114 quitFirstInterfaceServer();
115
116 increaseWaitQuit();
117
118 vTaskSuspend(NULL);
119}
120
121void runInit(void *arg)
122{

Callers

nothing calls this directly

Calls 4

RUN_ALL_TESTSFunction · 0.85
whenReadyFunction · 0.70
quitFirstInterfaceServerFunction · 0.70
increaseWaitQuitFunction · 0.70

Tested by

no test coverage detected