79496948

Date: 2025-03-10 03:31:58
Score: 1.5
Natty:
Report link

By experiment, the runtime for the mainstream Go implementation seems to work with coroutines at first but then deadlocks eventually.

The deadlock cannot be prevented with GOGC=off.

Fortunately, the C code in question can be readily converted to use pthreads instead.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hammdist