Cardinal Peak
Blog Post
Software Development

Inter-Thread Communication Without a Mutex

A simple way to avoid mutex-locking issues is to not use mutexes. This post describes a simple technique for passing objects between threads in a thread-safe manner without mutexes, which makes the entire class of possible mutex-related errors impossible to implement!
Howdy Pierce
Blog Post
Outsourced Engineering

My Threads Question

If we interview you here at Cardinal Peak, we're going to assume you're competent to use Google, and we'll give you the benefit of the doubt that you can look up answers to weird corner cases. What we really want to know is how deeply you understand how a computer works.
A simple way to avoid mutex-locking issues is to not use mutexes. This post describes a simple technique for passing objects between threads in a thread-safe manner without mutexes, which makes the entire class of possible mutex-related errors impossible to implement!
If we interview you here at Cardinal Peak, we're going to assume you're competent to use Google, and we'll give you the benefit of the doubt that you can look up answers to weird corner cases. What we really want to know is how deeply you understand how a computer works.