this post was submitted on 16 Apr 2024
1549 points (98.6% liked)

Comic Strips

12768 readers
2818 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 7 months ago (1 children)

Oh no, synchronization primitives!

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

[โ€“] [email protected] 1 points 7 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