Thread or Process Synchronization
Thread synchronization or serialization, strictly defined, is the application of particular mechanisms to ensure that two concurrently-executing threads or processes do not execute specific portions of a program at the same time. If one thread has begun to execute a serialized portion of the program, any other thread trying to execute this portion must wait until the first thread finishes. Synchronization is used to control access to state both in small-scale multiprocessing systems -- in multithreaded environments and multiprocessor computers -- and in distributed computers consisting of thousands of units -- in banking and database systems, in web servers, and so on.
Read more about this topic: Synchronization (computer Science)
Famous quotes containing the words thread and/or process:
“It launchd forth filament, filament, filament, out of itself,
Ever unreeling them, ever tirelessly speeding them.
And you O my soul where you stand,
Surrounded, detached, in measureless oceans of space,
Ceaselessly musing, venturing, throwing, seeking the spheres to connect them,
Till the bridge you will need be formd, till the ductile anchor hold,
Till the gossamer thread you fling catch somewhere, O, my soul.”
—Walt Whitman (18191892)
“The process of education in the oldest profession in the world is like any other educational process, in that it requires time and effort and patience; it can only be acquired by taking one step at a time, though the steps become accelerated after the first few.”
—Madeleine [Blair], U.S. prostitute and madam. Madeleine, ch. 4 (1919)