MCPcopy Create free account
hub / github.com/BabitMF/bmf / need_opt_reset

Method need_opt_reset

bmf/engine/c_engine/src/node.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320int Node::need_force_close() { return force_close_; }
321
322int Node::need_opt_reset(JsonParam reset_opt) {
323 opt_reset_mutex_.lock();
324 need_opt_reset_ = true;
325 reset_option_ = reset_opt;
326 BMFLOG(BMF_INFO) << "need_opt_reset option: " << reset_opt.dump();
327 opt_reset_mutex_.unlock();
328 return 0;
329}
330
331// In current design, this function will not be called in parallel
332// since one node is only scheduled by one scheduler queue

Callers 1

updateMethod · 0.80

Calls 1

dumpMethod · 0.45

Tested by

no test coverage detected