79401964

Date: 2025-01-31 06:53:48
Score: 2
Natty:
Report link

No, it is not safe, you should use for example multiprocessing.Lock() to ensure that only one process accesses the shared memory at a time to avoid race conditions.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ariandi