Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Semaphore?

Definition 15.13 University Computer Science — Year 2 · Capítulo 15 — Threads and Synchronisation

A semaphore is a non-negative integer with two atomic operations: PP (sem_wait) waits until the value is positive and decreases it by 1; VV (sem_post) increases it by 1, waking a waiter if there is one. A semaphore that starts at NN counts NN available resources.

Leer en el capítulo →