CSC/ECE 517 Spring 2015/ch1a 14 RI

From Expertiza_Wiki
Revision as of 04:27, 2 February 2015 by Rlcoble (talk | contribs)
Jump to navigation Jump to search

Thread Safety

A multi-threaded program presents the risk of race conditions, which are situations in which multiple threads rely on the same system state. This is a dangerous situation because if multiple threads access the same state simultaneously, the state could become corrupted. Thread safety avoids race conditions by guaranteeing that multiple threads can run safely, concurrently.

Background