MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / done

Method done

modules/core/task/include/SkrTask/co_task.hpp:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 SKR_TASK_API void reset();
143 size_t hash() const { return (size_t)state.get(); }
144 bool done() const
145 {
146 if(!state)
147 return true;
148 SMutexLock guard(state->mutex);
149 return state->signalled;
150 }
151 explicit operator bool() const { return (bool)state; }
152 bool operator==(const event_t& other) const { return state == other.state; }
153

Callers 15

TaskMethod · 0.45
TaskClass · 0.45
operator()Method · 0.45
await_readyMethod · 0.45
waitFunction · 0.45
syncMethod · 0.45
decrementFunction · 0.45
doneMethod · 0.45
parse_afmFunction · 0.45
t42_parser_doneFunction · 0.45
cff_slot_loadFunction · 0.45
ft_cmap_done_internalFunction · 0.45

Calls

no outgoing calls

Tested by 6

parse_afmFunction · 0.36
TestCondVarsMethod · 0.36
TestUnboundedPoolMethod · 0.36
TestTicketMethod · 0.36
TestEventsMethod · 0.36
TestCallsMethod · 0.36