|
|
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.
(2002-08-03)
Try this search on OneLook / Google
Nearby terms:
R4RS « rabbit job « RACE « race condition » RACF » RAD » Raddle
This article was derived from the Free Online Dictionary of Computers and is available under ther terms of the GNU Free Documentation License.
USB to Dual PS/2 Adapter Mouse &KB - 2 for $19.99USB to Dual PS/2 Adapter Mouse &KB - 2 for $19.99 ** USB to Dual PS/2 Adapter Mouse & KB - 2 for $19.99 **If your customers have an extra PS/2 keyboard and/or mouse, and want to use them with a computer that has only USBports, here is the answer. This adapter supports PS/2keyboards and mice, yet uses only one USB port! Ordertoday!General Features- Compliant with USB 1.0 and 1.1- Compliant with USB Human Interface Device (HID) Ver. 1.1- Power consumption (Idle): 25mA- Unit weight: 53g- Dimensions: 32.0 x 2.1 x 1.4 cm- USB Bus powered- Supports two PS/2 keyboards or two PS/2 mice- Supports standard Windows Multimedia Keys (Windows versionmust support them as well.)Package includes adapters ONLY Compatibility/Requirements/Disclosures:** Requirements *** PC or Mac with USB port* Win 98/98SE/ME/2000/XP OR Mac OS 9.x/X ORLinux kernel 2.4.x or newer, with USB support More ...
Norton Ghost 9.0 - CD OnlyNorton Ghost 9.0 - CD Only ** Symantec Norton Ghost 9.0 for Windows **Symantec's Norton Ghost 9.0 provides advanced backup and recovery for your PC. Protect your data by making a backup of your hard drive's contents - without restarting Windows. Incremental backups save you time and disk space. You can even schedule backups to run automatically. Quickly restore individual files, selected folders, or the entire hard drive.General Features:- Hot imaging lets you create backup images without restarting Windows- Incremental backup updates save time and disk space- Scheduled backups automatically keep your backup image up to date- Symantec Recovery Disk lets you restore data from a backup image- Works with a wide range of hard drives and removable media- Restores data from images created with PowerQuest Drive Image 7.0 and previous versions of Norton Ghost- LiveUpdate keeps Norton Ghost updated automatically over the Internet.Supported File Systems:- All FAT/32 - ALL NTFS - Linux EXT2/3 Notes:- Picture is for representational purposes only-OEM CD ONLY Compatibility/Requirements/Disclosures:** Requirements ** * Windows XP/2000 Pro/NT WS with SP6 or later/Me98 * 486 MHz or higher processor * 16 MB RAM (32 MB RAM recommended) * 50 MB of available hard disk space * Microsoft Internet Explorer 5.0 or later * DVD or CD drive More ...
12-Bay Gaming ATX Window Case w/480W PS LED (Blk)12-Bay Gaming ATX Window Case w/480W PS LED (Blk) ** 12-Bay ATX Window Case ** EZ-Media G7 Thermo Display ATX Gaming Case delivers outstanding expandability and state-of-the-art cooling technology to gamers and extreme PC users. This case is decked out in a stylish, contemporary chassis with clear side panel and blue neon light on the front panel. The EZ-media G7 12-Bay gaming case features seven expansion slots, front USB ports. Innovative one-screw opening and installation makes maintenance easy. The EZ-Media G7 comes with a 480-watt power supply with silent 120mm fan and SATA connector. If you’ve been dreaming about taking your computing to extremes, the EZ-Media G7 was built to make your dreams come true. General Features:- Black and silver color- 12 bays- ATX case- One screw for easy opening- Side panel window w/Two (2) LED fans- Blue neon light on front panel- Power button- Digital temperature readout- Thermometer channel indicator & hard drive LED- Select 3-channel thermometer button- Up/down fan speed button- Two (2) front mounted USB portsDrive Bay Features:- Four (4) 5.25-inch external drive bays- Two (2) 3.5-inch external drive bay- Six (6) 3.5-inch internal drive baysExpansion Features:- Seven (7) punch-out expansion slotsSupported Form Factors:- ATX- Flex ATX- Micro ATXPower Supply Output:- 480-watt- +3.3V, 23A- +5V, 28A- +12V, 18A- -12V, 0.8A- -5V, 0.5A- +5Vsb, 2.0ACase Fan Support:- Two (2) 80 mm case fan at front - Two (2) 80 mm case fan on back- One (1) 80 mm case on topCase Dimensions:- 17.25 x 7.75 x 18.75-inches (H x W x D approximate)Retail Box Includes:- 12-Bay ATX Window Aluminum Case- Instructions- Screw pack - Power cordNotes:- Model: G7- UPC: 8 57657 00030 9 Compatibility/Requirements/Disclosures: ** Requirements *** Supported motherboard * Rest of the system * Available power outlet More ...
52x 700MB CD-R Media 100-Pack - 2 for $2252x 700MB CD-R Media 100-Pack - 2 for $22 ** 52x 700MB CD-R Media 100-Pack - 2 for $22 **This 100-pack CD-R media makes burning discs easy! Featuring 700 MB data storage, 80 minutes of digital audio and a maximum 52x recording speed, disc creationonly takes minutes! General Features:- 80-minute audio capacity- 700 MB data capacity- Rated for use with 52x speeds - White labelNotes:- (2) 100-piece packs Compatibility/Requirements/Disclosures:** Requirements *** CD-R/RW drive More ...
Intel P4 1.5GHz 400MHz 256KB Socket 478 CPUIntel P4 1.5GHz 400MHz 256KB Socket 478 CPU ** Pentium4 1.5GHz PGA 478-pin CPU w/ 256K L2 Cache **- 1.50 GHz Clock Speed- PGA 478-pin Package- 400 MHz system bus- Level 2 Advanced 256 KB Transfer Cache- S-Spec: SL5TJ, SL59V- CPU Only Compatibility/Requirements/Disclosures:* Motherboard that can run a Pentium 4 1.5 GHz CPU(needs 400MHz Bus Support)* Heatsink/Fan - for Pentium 4 478-pin CPU More ...
Dog TrainingDog Training Teach your dog some manners with this easy-to-follow guide. Learn how to control a canine's most bothersome behavioral problems - including barking, chewing, and much more! Windows 95/98/ME/2000/XP More ...
|