MCPcopy Create free account
hub / github.com/audacity/audacity / CallAfter

Function CallAfter

libraries/lib-basic-ui/BasicUI.cpp:214–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212static std::vector<Action> sActions;
213
214void CallAfter(Action action)
215{
216 if (auto p = Get())
217 p->DoCallAfter(action);
218 else {
219 // No services yet -- but don't lose the action. Put it in a queue
220 auto guard = std::lock_guard{ sActionsMutex };
221 sActions.emplace_back(std::move(action));
222 }
223}
224
225void Yield()
226{

Callers 15

EnqueueActionMethod · 0.85
HandleInternalErrorMethod · 0.85
HandleResultMethod · 0.85
BroadcastMethod · 0.85
SetFocusMethod · 0.85
CallAfterRecordingMethod · 0.85
StopStreamMethod · 0.85
UpdateUserDataMethod · 0.85
ClearUserDataMethod · 0.85
DownloadAvatarMethod · 0.85
DoAuthoriseMethod · 0.85
ParseTokenResponseMethod · 0.85

Calls 3

GetFunction · 0.85
moveFunction · 0.85
DoCallAfterMethod · 0.45

Tested by 1

PopulateMethod · 0.68