79762997

Date: 2025-09-12 13:31:55
Score: 2
Natty:
Report link

One possible solution I am considering is to use pthread_self() as a pthread_t value that is guaranteed not to be one of the spun-off threads.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jon Green