79365983

Date: 2025-01-17 20:03:30
Score: 2
Natty:
Report link

i was able to fix this using read write lock instead of regular spin lock.

since both of the functions are just reading and not writing it makes a lot of sense having the read lock instead.

like usual i learned something after i post it :)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RookieBeotch