सभी किताबें

पेशेवर

ऐप्स परिचय Coach लॉग इन पढ़ना शुरू करें

Quantitative Finance · शब्दावली

Hazard pointer, epoch-based reclamation क्या है?

अन्य नाम: hazard pointer · epoch-based reclamation

Definition 11.5 Low-Latency Software · अध्याय 11 — Lock-Free Programming

In a lock-free structure whose nodes are freed, a node removed by one thread may still be read by another that loaded its address before the removal. A hazard pointer is a per-thread published pointer to a node the thread is about to read; a node is freed only when no hazard pointer points to it (Michael, 2004). In epoch-based reclamation threads announce entering and leaving a global epoch; a node removed in epoch ee is freed once every thread has left ee (Fraser, 2004).

अध्याय में पढ़ें →