MCPcopy Create free account
hub / github.com/BIT-MCS/DRL-eFresh / __init__

Method __init__

utils/base_utils.py:164–166  ·  view source on GitHub ↗
(self, val=True)

Source from the content-addressed store, hash-verified

162 """used by chief to allow workers to run or not"""
163
164 def __init__(self, val=True):
165 self.val = mp.Value("b", False)
166 self.lock = mp.Lock()
167
168 def get(self):
169 with self.lock:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected