• uis@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    Oh no, synchronization primitives!

    Well, you can end up implementing synchronization primitive if you are writing game. Sometimes game engine is kernel in userspace.

    • theneverfox@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      I’ve done it in a Python system at work before. We used a mutex?(The int, not the lockout) to track worker threads

      It’s a hell of a lot easier these days… It’s amazing how quickly programming advances when you look back

      I’m interested in how this came up in a game engine though, and how recent it was