Común · Saberes
Read-copy-update
Synchronization mechanism based on mutual exclusion
In computer science, read-copy-update (RCU) is a synchronization mechanism that avoids the use of lock primitives while multiple threads concurrently read and update elements that are linked through pointers and that belong to shared data structures (e.g., linked lists, trees, hash tables). Whenever a thread is inserting or deleting elements of data structures in shared memory, all readers are guaranteed to see and traverse either the older or the new structure, therefore avoiding inconsistencies (e.g., dereferencing null pointers).
En Wikipedia
Texto en inglés Aún no hay artículo en tu idioma: extracto en inglés.
In computer science, read-copy-update (RCU) is a synchronization mechanism that avoids the use of lock primitives while multiple threads concurrently read and update elements that are linked through pointers and that belong to shared data structures (e.g., linked lists, trees, hash tables). Whenever a thread is inserting or deleting elements of data structures in shared memory, all readers are guaranteed to see and traverse either the older or the new structure, therefore avoiding inconsistencies (e.g., dereferencing null pointers). It is used when performance of reads is crucial and is an example of space–time tradeoff, enabling fast operations at the cost of more space. This makes all readers proceed as if there were no synchronization involved, hence they will be fast, but also making updates more difficult.
Texto: Wikipedia en inglés, CC BY-SA 4.0. ·
Cartas cercanas
-
R★
Readers–writer lock
Synchronization primitive in computing
-
s★★
single source of truth
Fuente única de verdad
-
★★★
Lista enlazada
Estructura de datos en ciencias de la computación
-
★★★★
Cadena de bloques
Forma de contabilidad criptográfica distribuida
-
★★
Log-structured merge-tree
Data structure
-
★★★
Memoria entrelazada