code: def test_concurrent_lock():
      filename = "con.lock"
  
      def lock():
          lock = library.python.filelock.FileLock(filename)
          time.sleep(1)
          lock.acquire()
          lock.release()
          try:
              os.unlink(filename)
          except OSError:
              pass
  
      threads = []
      for i in range(100):
          t = threading.Thread(target=lock)
          t.daemon = True
          threads.append(t)
  
      for t in threads:
          t.start()
  
      for t in threads:
          t.join()
  
file_path: catboost/library/python/filelock/ut/test_filelock.py
imports: import os
  import time
  import logging
  import multiprocessing
  import tempfile
  import threading
  import library.python.filelock
label_desc: Use image node_id 4 for calling a global function with example usage: test_concurrent_lock() without return types