Synchronization (computer Science) - Thread or Process Synchronization

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:

    “There’s something like a line of gold thread running through a man’s words when he talks to his daughter, and gradually over the years it gets to be long enough for you pick up in your hands and weave into a cloth that feels like love itself. It’s another thing, though, to hold up that cloth for inspection.”
    —John Gregory Brown (20th century)

    “I’m not suggesting that all men are beautiful, vulnerable boys, but we all started out that way. What happened to us? How did we become monsters of feminist nightmares? The answer, of course, is that we underwent a careful and deliberate process of gender training, sometimes brutal, always dehumanizing, cutting away large chunks of ourselves. Little girls went through something similarly crippling. If the gender training was successful, we each ended up being half a person.”
    —Frank Pittman (20th century)