79190207

Date: 2024-11-14 19:48:20
Score: 1
Natty:
Report link

I am on Mac OSX, and sem_init is not supported (it was returning -1). I tried running the same code on a linux machine and it worked fine.

Moral of the story: I'm a goober and should check my return codes.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kungfunk