class_docstr: Threading-based Lock. Used to provide the same API as the rest of the locks.
docstr: Implementation of releasing an acquired lock.
docstr_tok: ["Implementation","of","releasing","an","acquired","lock","."]
code: def _release(self):
      """
      Implementation of releasing an acquired lock.
      """
  
      try:
          return self.lock.release()
      except RuntimeError:  # already unlocked
          pass
  
imports: from collections import defaultdict
  import datetime
  import json
  from pathlib import Path
  import threading
  import time
  from typing import Callable
  from typing import Dict
  from typing import Optional
  import uuid
  from pydantic import BaseModel
  import redis
  from sherlock.lock import BaseLock
  from sherlock.lock import FileLock
  from sherlock.lock import RedisLock
  from ..serde.serializable import serializable
label_desc: Use image node_id 4 for calling the ThreadingLock obj's underlying member method code with example usage: obj._release() and returns: self