MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / PushDisplayError

Function PushDisplayError

Source/Internal/error.cpp:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static int PushDisplayError(ErrorDisplay& ed) {
143 int id;
144 error_queue_mutex.lock();
145 id = error_id_counter++;
146 ed.id = id;
147 error_queue.push_back(ed);
148 error_queue_mutex.unlock();
149 return id;
150}
151
152ErrorResponse WaitResponseForDisplayError(int error_id) {
153 ErrorResponse ret;

Callers 2

DisplayErrorFunction · 0.85
DisplayMessageFunction · 0.85

Calls 3

lockMethod · 0.45
push_backMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected