返回题库

Quant Interview Practice Questions

专题
concurrency
难度
L3
来源
MyntBit

题目详情

In low-latency trading systems, lock-free data structures are extensively used to ensure deterministic performance and avoid thread contention. However, memory reclamation in these structures is challenging because a thread might attempt to free a node while another thread is concurrently reading it. Epoch-Based Reclamation (EBR) is a widely used technique that defers the destruction of removed nodes until no active thread can possibly hold a reference to them. Task Implement an EpochBasedRecla