返回题库

Quant Interview Practice Questions

专题
concurrency
难度
L2
来源
MyntBit

题目详情

In high-frequency trading systems, establishing connections to market data feeds is an expensive operation involving network handshakes and authentication. To minimize startup latency, systems often defer this initialization until the first piece of data is needed using a thread-safe lazy initialization pattern. Utilizing synchronization primitives like std::call_once ensures that concurrent strategy threads do not trigger redundant connection attempts or race conditions. Task Implement a Marke