Concurrent algorithm
In computer science, a concurrent algorithm is one that can be executed concurrently. Most standard computer algorithms are sequential algorithms, and assume that the algorithm is run from start to finish without any other processes executing. These often do not behave correctly when run concurrently, as demonstrated at right, and are often nondeterministic, as the actual sequence of computations is determined by the external scheduler. Concurrency often adds significant complexity to an algorithm, requiring concurrency control such as mutual exclusion to avoid problems such as race conditions.
Many parallel algorithms are run concurrently, particularly distributed algorithms, though these are distinct concepts in general.
This article is issued from Wikipedia - version of the Saturday, February 08, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.