MCPcopy Create free account
hub / github.com/crazytuzi/UnrealCSharp / EnqueueTask

Method EnqueueTask

Source/Compiler/Private/FCSharpCompilerRunnable.cpp:109–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void FCSharpCompilerRunnable::EnqueueTask()
110{
111 {
112 FScopeLock ScopeLock(&CriticalSection);
113
114 if (!Tasks.IsEmpty())
115 {
116 Tasks.Empty();
117 }
118
119 Tasks.Enqueue(true);
120 }
121
122 Event->Trigger();
123}
124
125void FCSharpCompilerRunnable::EnqueueTask(const TArray<FFileChangeData>& InFileChangeData)
126{

Callers 1

CompileMethod · 0.80

Calls 2

IsEmptyMethod · 0.45
EmptyMethod · 0.45

Tested by

no test coverage detected