_
This commit is contained in:
parent
c43f84af02
commit
2b2260e996
1 changed files with 4 additions and 2 deletions
|
|
@ -227,7 +227,8 @@ public:
|
|||
|
||||
m_sPendingException = e;
|
||||
synchronized {
|
||||
++m_sPendingCount;
|
||||
import core.atomic;
|
||||
core.atomic.atomicOp!"+="(m_sPendingCount, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -238,7 +239,8 @@ public:
|
|||
e = m_sPendingException;
|
||||
m_sPendingException = null;
|
||||
synchronized {
|
||||
--m_sPendingCount;
|
||||
import core.atomic;
|
||||
core.atomic.atomicOp!"-="(m_sPendingCount, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue