@fedilucie love the race condition mid-text
@fedilucie no one has ever shown me a use case for a condition variable that couldn't have been solved better with some combination of semaphores and pipes.
@fedilucie The lower bound of the number of bugs in any given program is the number of threads it runs on.
@fedilucie when I saw this I thought specifically of @glyph
@ehashman @fedilucie I particularly appreciate the dedication to the bit where the bullet-point occurs mid-line

@glyph @ehashman @fedilucie Hey, at least it didnt crash in an unreproducible way leading you chasing totally unrelated rabbits

(yes I developed a preemptible RTOS, why)

@fedilucie hahaha this is so good

@fedilucie

Years of semaphores yet no real world usage found for anything other than locksWe should start synchronizing processes and threads with... ROUNDABOUTS!!! ​

Way more efficient than semaphores

@fedilucie Had to read that many times to understand it, I was confused for a while. :o :(
@fedilucie Take a look at my account please
@fedilucie that’s the best one yet 👍
@fedilucie I know some theory stuff about concurrent programming, but I have never felt the need to use it irl (aside from async functions in Javascript ofc)