<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _release_all(self):
 """Releases all locks to kill all threads"""

        for i in self.inputs:
            i.call_release(True)
        self.available_lock.release()