2021年2月2日

使用 Critical Section 加锁的一个例子

摘要: 此处是用 Critical Section lock 来保护 data.handling EnterCriticalSection(&lock); if (data.handling) { tick64_t start = get_tick64(); do { SleepConditionVaria 阅读全文

posted @ 2021-02-02 16:32 liujx2019 阅读(201) 评论(0) 推荐(0)

Critical Section

摘要: First up is the critical section object. This lock is used heavily by countless applications but has a sordid history. When I first started using crit 阅读全文

posted @ 2021-02-02 16:20 liujx2019 阅读(208) 评论(0) 推荐(0)

导航