Pular para o conteúdo

Synchronisation

Introduzido
Material de apoio
Videoaula para este tópico Abrir a página do vídeo
6:44

Sistemas Operacionais

An operating system turns one processor into many machines. The first three units build the illusions of the processor: processes, taking turns, and safe…

Narração em inglês · legendas em inglês e 中文 que você pode alternar

Nesta aula

Videoaula
Vocabulário
English Significado
interleaving/ˌɪntəˈliːvɪŋ/the order in which the steps of concurrent threads happen to mix
race condition/reɪs kənˈdɪʃn/a bug in which the result depends on the timing of threads that share data
Mutual exclusion/ˈmjuːtʃuːəl eksˈkluːʒn/
spin/spɪn/
semaphore/ˈseməfɔː/a counter with wait and signal operations, used to control access to shared resources
mutex/ˈmjuːteks/a lock that lets only one thread at a time into a critical section
Deadlock/ˈdedlɒk/a state in which each process waits for a resource held by another, so none can continue
condition variable/kənˈdɪʃn ˈveərɪəbl/A synchronisation object a thread waits on, releasing its lock, until another thread signals that a condition may now be true.
banker's algorithm/ˈbæŋkəz ˈælɡərɪθəm/A deadlock-avoidance method that grants a resource request only if some order still lets every process finish.

Material de apoio

IGCSE, A-Level & AP