MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / IsCancelRequested

Function IsCancelRequested

Source/Engine/Threading/Task.h:156–159  ·  view source on GitHub ↗

Returns true if task has been requested to cancel it's operation.

Source from the content-addressed store, hash-verified

154 /// Returns true if task has been requested to cancel it's operation.
155 /// </summary>
156 FORCE_INLINE bool IsCancelRequested()
157 {
158 return Platform::AtomicRead(&_cancelFlag) != 0;
159 }
160
161public:
162 /// <summary>

Callers 5

ExecuteMethod · 0.85
ExecuteMethod · 0.85
OnFinishMethod · 0.85
runMethod · 0.85
BuildMethod · 0.85

Calls 1

AtomicReadFunction · 0.50

Tested by

no test coverage detected