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
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGb6acd4563d3b: Merge pull request #5700
Branches
Unknown
Tags
Unknown

Event Timeline

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