mirror of
https://github.com/corda/corda.git
synced 2025-03-14 16:26:36 +00:00
avoid acquiring a mutex recursively in markDirty
This commit is contained in:
parent
5f5cc57d12
commit
e91157a390
@ -1022,7 +1022,9 @@ void
|
||||
markDirty(Context* c, Fixie* f)
|
||||
{
|
||||
if (not f->dirty) {
|
||||
#ifdef USE_ATOMIC_OPERATIONS
|
||||
ACQUIRE(c->lock);
|
||||
#endif
|
||||
|
||||
if (not f->dirty) {
|
||||
f->dirty = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user