HomePhabricator

Fix infinite loop with LogPrint on Windows
962b1cf441ceUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix infinite loop with LogPrint on Windows

Running -printtodebugger -debug (or -debug=lock),
compiled with -DDEBUG_LOCKORDER would infinite loop
on Windows because every critical section lock/unlock
triggers a LogPrint.

Solution is to use the raw boost mutex instead of a CCriticalSection.

Details

Provenance
Gavin Andresen <gavinandresen@gmail.com>Authored on Dec 10 2013, 01:34
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING955787f83f49: Merge pull request #3207
Branches
Unknown
Tags
Unknown

Event Timeline

Gavin Andresen <gavinandresen@gmail.com> committed rSTAGING962b1cf441ce: Fix infinite loop with LogPrint on Windows (authored by Gavin Andresen <gavinandresen@gmail.com>).Dec 10 2013, 01:34