In a multi-processing system, hardware and / or software facility for controlling the sequence of operations performed by a thread of a multithreaded application is provided. Facility, the same input to a multi-threaded application is given, multiprocessing system is interleaved deterministically the operation, thereby to produce the same output every time a multi-threaded application is executed, multi-threaded applications the execution can be serialized or selectively serialization. Facility, the execution of multi-threaded application code is divided into two or more Quantum specifying the operation of the deterministic number, thread specifies a deterministic order to perform two or more Quantum. The facility may operate in conjunction with a transactional memory system. When the facility is operated together with a transactional memory system, each quantum is enclosed in a transaction that may be performed in parallel with other transactions are committed according to the given deterministic order.
展开▼