79458309

Date: 2025-02-21 18:26:05
Score: 1.5
Natty:
Report link

Being safe is always good, and assuming a limit for std::recursive_mutex and use it can be risky. But we can safely test and determine the limit on the target system before using it. As it is always a good practice to keep the recursive function safe by having correct boundry conditions applied. So in same way recursion depth should be kept manageable. It is surely not a small number like 1,2 or 3 on any target machine.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: AmitJhaIITBHU