1. A method comprising: determining whether a condition is met; and, serializing an operation of a first thread of a multi-threaded program relative to an operation of a second thread of the multi-threaded program when the condition has been met.