code: def test_locking_multiprocess_fork():
      ctx = multiprocessing.get_context("fork")
      run_locking_test(ctx)
  
file_path: pytensor/tests/compile/test_compilelock.py
imports: import multiprocessing
  import os
  import sys
  import tempfile
  import threading
  import time
  import filelock
  import pytest
  from pytensor.compile.compilelock import force_unlock, local_mem, lock_ctx
label_desc: Use image node_id 6 for calling a global function with example usage: test_locking_multiprocess_fork() without return types