HomePhabricator

Acquire CCheckQueue's lock to avoid race condition
cf008ac8c3c5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Acquire CCheckQueue's lock to avoid race condition

This fixes a potential race condition in the CCheckQueueControl constructor,
which was looking directly at data in CCheckQueue without acquiring its lock.

Remove the now-unnecessary friendship for CCheckQueueControl

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Jan 28 2015, 18:48
deadalnixPushed on May 14 2017, 22:04
Parents
rABCb6acd4563d3b: Merge pull request #5700
Branches
Unknown
Tags
Unknown

Event Timeline

Suhas Daftuar <sdaftuar@gmail.com> committed rABCcf008ac8c3c5: Acquire CCheckQueue's lock to avoid race condition (authored by Suhas Daftuar <sdaftuar@gmail.com>).Feb 3 2015, 13:53