History Search
- race condition
- yellow book cd-rom
- petabyte
- olap council
- mononuclear phagocyte system
- intel i960
- constant folding
- pbx
- pop3
- !!!batch
- tymnet
- intel 8048
- complement
- yell
- cottager
- recruiting-sergeant
- light pipe
- diskless workstation
- persevere
- slurp
- cti
- epl
- co-np
- walrus
- zikurat
- sandlot
- open parenthesis
- clawfoot
- gidar
- , commercial at 0101 65 0x41 a 0102 66 0x42 b 0103 67 0x43 c 0104 68 0x44 d 0105 69 0x45 e 0106 70 0x46 f 0107 71 0x47 g 0110 72 0x48 h 0111 73 0x49 i 0112 74 0x4a j 0113 75 0x4b k 0114 76 0x4c l 0115 77 0x4d m 0116 78 0x4e n 0117 79 0x4f o 0120 80 0x50 p 0121 81 0x51 q 0122 82 0x52 r 0123 83 0x53 s 0124 84 0x54 t 0125 85 0x55 u 0126 86 0x56 v 0127 87 0x57 w 0130 88 0x58 x 0131 89 0x59 y 0132 90 0x5a z 0133 91 0x5b [, open square bracket 0134 92 0x5c \, backslash 0135 93 0x5d ], close square bracket 0136 94 0x5e ^, caret 0137 95 0x5f _, underscore 0140 96 0x60 `, back quote 0141 97 0x61 a 0142 98 0x62 b 0143 99 0x63 c 0144 100 0x64 d 0145 101 0x65 e 0146 102 0x66 f 0147 103 0x67 g 0150 104 0x68 h 0151 105 0x69 i 0152 106 0x6a j 0153 107 0x6b k 0154 108 0x6c l 0155 109 0x6d m 0156 110 0x6e n 0157 111 0x6f o 0160 112 0x70 p 0161 113 0x71 q 0162 114 0x72 r 0163 115 0x73 s 0164 116 0x74 t 0165 117 0x75 u 0166 118 0x76 v 0167 119 0x77 w 0170 120 0x78 x 0171 121 0x79 y 0172 122 0x7a z 0173 123 0x7b {, open curly bracket 0174 124 0x7c |, vertical bar 0175 125 0x7d }, close curly bracket 0176 126 0x7e ~, tilde 0177 127 0x7f delete see nul, soh, stx, etx, etx, eot, enq, ack, bel, bs, ht, line feed, vt, ff, cr, so, si, dle, xon, dc1, dc2, dc3, dc4, nak, syn, etb, can, em, sub, esc, fs, gs, rs, us, space, exclamation mark, double quote, hash, dollar, percent, ampersand, quote, open parenthesis, close parenthesis, asterisk, plus, comma, minus, full stop, oblique stroke, colon, semicolon, less than, equals, greater than, question mark, commercial at, open square bracket, backslash, close square bracket, caret, underscore, back quote, open curly bracket, vertical bar, close curly bracket, tilde, delete. last updated: 1996-06-24
- [Clear Recent History...]
|
Từ điển Máy Tính - Foldoc Dictionary
race condition
race condition 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 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. Last updated: 2002-08-03
|
|
|
|