Copyright © Philip M. Parker, INSEAD. Terms of Use.

RACE CONDITION

Specialty Definitions: RACE CONDITION

DomainDefinitions

Computing

Race condition Anomolous behavior due to unexpected critical dependence on the relative timing of events. For example, if one process writes to a file while another is reading from the same location then the data read may be the old contents, the new contents or some mixture of the two depending on the relative timing of the read and write operations. A common remedy in this kind of race condition is file locking; a more cumbersome remedy is to reorganize the system such that a certain processes (running a daemon or the like) is the only process that has access to the file, and all other processes that need to access the data in that file do so only via interprocess communication with that one process. As an example of a more subtle kind of race condition, consider a distributed chat network like IRC, where a user is granted channel-operator privileges in any channel he starts. If two users on different servers, on different ends of the same network, try to start the same-named channel at the same time, each user's respective server will grant channel-operator privileges to each user, since neither will yet have received the other's signal that that channel has been started. In this case of a race condition, the "shared resource" is the conception of the state of the network (what channels exist, as well as what users started them and therefore have what privileges), which each server is free to change as long as it signals the other servers on the network about the changes so that they can update their conception of the state of the network. However, the latency across the network makes possible the kind of race condition described. In this case, heading off race conditions by imposing a form of control over access to the shared resource -- say, appointing one server to be in charge of who holds what privileges -- would mean turning the distributed network into a centralized one (at least for that one part of the network operation). Where this is not acceptable, the more pragmatic solution is to have the system recognize when a race condition has occurred and to repair the ill effects. Race conditions also affect electronic circuits where the value output by a logic gate depends on the exact timing of two or more input signals. For example, consider a two input AND gate fed with a logic signal X on input A and its negation, NOT X, on input B. In theory, the output (X AND NOT X) should never be high. However, if changes in the value of X take longer to propagate to input B than to input A then when X changes from false to true, there will be a brief period during which both inputs are true, and so the gate's output will also be true. If this output is fed to an edge-sensitive component such as a counter or flip-flop then the temporary effect ("glitch") will become permanent. (1999-06-07). Source: The Free On-line Dictionary of Computing.

Electrical Engineering

The situation arising when inputs to a gate traverse parallel, but different, circuit paths. Source: European Union. (references)

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Race condition

(From Wikipedia, the free Encyclopedia)

In computer programming and electronics a race condition is the anomalous behavior due to unexpected critical dependence on the relative timing of events.

For example, if one process writes to a file while another is reading from the same location then the data read may be the old contents, the new contents or some mixture of the two depending on the relative timing of the read and write operations.

A common remedy in this kind of race condition is file locking; a more cumbersome remedy is to reorganize the system such that a certain process (running a daemon or the like) is the only process that has access to the file, and all other processes that need to access the data in that file do so only via interprocess communication with that one process.

As an example of a more subtle kind of race condition, consider a distributed chat network like IRC, where a user is granted channel-operator privileges in any channel he starts. If two users on different servers, on different ends of the same network, try to start the same-named channel at the same time, each user's respective server will grant channel-operator privileges to each user, since neither will yet have received the other's signal that that channel has been started.

In this case of a race condition, the "shared resource" is the conception of the state of the network (what channels exist, as well as what users started them and therefore have what privileges), which each server is free to change as long as it signals the other servers on the network about the changes so that they can update their conception of the state of the network. However, the latency across the network makes possible the kind of race condition described. In this case, heading off race conditions by imposing a form of control over access to the shared resource -- say, appointing one server to be in charge of who holds what privileges -- would mean turning the distributed network into a centralized one (at least for that one part of the network operation). Where this is not acceptable, the more pragmatic solution is to have the system recognize when a race condition has occurred and to repair the ill effects.

Race conditions also affect electronic circuits where the value output by a logic gate depends on the exact timing of two or more input signals. For example, consider a two input AND gate fed with a logic signal X on input A and its negation, NOT X, on input B. In theory, the output (X AND NOT X) should never be high. However, if changes in the value of X take longer to propagate to input B than to input A then when X changes from false to true, there will be a brief period during which both inputs are true, and so the gate's output will also be true. If this output is fed to an edge-sensitive component such as a counter or flip-flop then the temporary effect ("glitch") will become permanent.

As well as these problems, it is possible for logic gates to enter metastable statess, which create further problems for circuit designers.

See also:

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Race condition."

Top     

Crosswords: RACE CONDITION

English words defined with "RACE CONDITION": In hard condition. (references)
Specialty definitions using "RACE CONDITION": HOOF AND SHOE INSPECTOR, HORSE TRAINERJK flip-flopplating inspectorWailing-place, Jews'. (references)

Top     

Modern Translation: RACE CONDITION

Language Translations for "RACE CONDITION"; alternative meanings/domain in parentheses.

Danish

  

kapløb. (various references)

   

Dutch

  

raceconditie. (various references)

   

Finnish

  

kilpajuoksutilanne. (various references)

   

French

  

concurrence critique. (various references)

   

German

  

Wettlaufsituation. (various references)

   

Greek 

  

συνθήκη συναγωνισμού. (various references)

   

Pig Latin

  

aceray onditioncay

   

Portuguese

  

condição de corrida. (various references)

   

Spanish

  

condición de competencia, condición de carrera. (various references)

Source: compiled by the editor from various translation references.

Top     

Anagrams: RACE CONDITION

Scrabble® Enable2K-Verified Anagrams

Words within the letters "a-c-c-d-e-i-i-n-n-o-o-r-t"

-2 letters: cardiotonic, codirection, conditioner, recondition.

-3 letters: carotenoid, carotinoid, coincident, concertina, concertini, concertino, concordant, concretion, coordinate, decoration, inordinate, ordination.

-4 letters: accordion, accretion, anecdotic, anorectic, anticodon, carcinoid, carnitine, cartooned, circinate, concordat, condition, connector, contained, container, coronated, corticoid, crenation, creodonta, decoction, dicentric, direction, incondite, indicator, nonacidic, noncredit, nonerotic, ordinance, redaction, rendition.

-5 letters: accentor, accident, accredit, acentric, acetonic, acidotic.

 Words containing the letters "a-c-c-d-e-i-i-n-n-o-o-r-t"
 

+4 letters: contradictoriness.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     

Alternative Orthography: RACE CONDITION


Hexadecimal (or equivalents, 770AD-1900s) (references)

52 41 43 45      43 4F 4E 44 49 54 49 4F 4E

Leonardo da Vinci (1452-1519; backwards) (references)

    

Binary Code (1918-1938, probably earlier) (references)

01010010 01000001 01000011 01000101 00100000 01000011 01001111 01001110 01000100 01001001 01010100 01001001 01001111 01001110

HTML Code (1990) (references)

&#82 &#65 &#67 &#69 &#32 &#67 &#79 &#78 &#68 &#73 &#84 &#73 &#79 &#78

ISO 10646 (1991-1993) (references)

0052 0041 0043 0045      0043 004F 004E 0044 0049 0054 0049 004F 004E

Encryption (beginner's substitution cypher): (references)

523537392374948384354434948

Top     

Non-English Dictionaries with "RACE CONDITION"

LanguageCoverageLanguage Translations

Danish

ordbog, deskriptordefinition, oversættelsetanskalainen, danois, dänisch, δανικόσ, δανόσ, dinamarquês, danés

Dutch

woordenboek, definitie, translatiehollandsk, hollantilainen, néerlandais, holländisch, ολλανδικόσ, ολλανδόσ, holandês, holandés

Finnish

määritelmä, translaatio, taajuusmuutossuomi, suomalainen, finnois, Finlandaise, finlandais, finnisch, φινλανδικόσ, finlandês, finês, finlandés, finés

French

dictionnaire, définition, traductionranskalainen, français, französisch, γαλλικόσ, γαλλική γλώσσα, γαλλίδα, γάλλοσ, francês, francés

German

Übersetzung, Wörterbuch, Definitiontysker, Duitse, saksalainen, allemand, "ερμανός, alemão, alemán

Greek

λεξικό, ορισμός, μετάφρασηgræker, kreikkalainen, grec, grieche, ελληνικόσ, 'Ελληνας, grego, griego

Portuguese

dicionário, definição, traduçãoportugiser, portugalilainen, portugais, portugiesisch, πορτογάλοσ, ορτογάλος, português, portugués

Spanish

diccionario, definición, traducciónSpaans, espanjalainen, espagnol, spanisch, ισπανικά, ισπανικόσ, ισπανοί, espanhol, español

English

Dictionary, Definition, Translationenglantia, englantilainen, anglais, englisch, εγγλέζοσ, αγγλικόσ, inglês, inglés
 


INDEX

1. Crosswords
2. Translations: Modern
3. Anagrams
4. Orthography
5. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.