Monday, 4 March 2013

Race Condition

Race conditions have to do with attempts by a system or individual device to engage in multitasking .

Generally, a race condition exists when the system is attempting to process two or more different operations simultaneously, but is unable to do so.

A race condition is created when two or more operations are vying with each other to reach completion ahead of the other operations.

When all the individual functions are properly arranged, this leads to the successful execution of all the functions in a timely manner. However, if the sequence of operations is thrown out of balance, this creates a bottleneck.

In the worse case scenario, the race condition will make it impossible for the system to continue in its attempt to process all the functions in the order currently engaged.

One common example of a race condition has to do with the processing of data.

The priorities are established to function well within the capabilities of the system and thus limit the ability of a race condition to develop.

No comments:

Post a Comment