MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / sync_impl

Method sync_impl

imperative/src/impl/interpreter/interpreter_impl.cpp:567–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565}
566
567void ChannelImpl::sync_impl() {
568 m_worker.wait_all_task_finish();
569 MGB_LOCK_GUARD(m_mutex);
570 check_worker_exc_unsafe();
571}
572
573void ChannelImpl::close() {
574 MGB_LOCK_GUARD(m_spin);

Callers

nothing calls this directly

Calls 1

wait_all_task_finishMethod · 0.45

Tested by

no test coverage detected