title: What is this solution to a race condition called?
body: <p>I've seen this pattern used before but I can't recall the terminology used to describe it (and thus I can't Google it to learn more about it):</p>
  
  <p>Basically, it's where you've got a resource that is used by multiple threads, but instead of locking access to that resource, committing a transaction, and then unlocking access, the resource has its own "queue" and each process "posts" a function to be performed on that resource to its queue.  The resource then goes through and executes each function in the order that it was posted, ensuring that its state is never corrupted.</p>