mirror of
https://github.com/corda/corda.git
synced 2025-06-05 00:50:52 +00:00
parent
b444701d7e
commit
b0771d6f2b
@ -798,7 +798,7 @@ Because of this, care must be taken when performing locking or waiting operation
|
|||||||
|
|
||||||
Locking
|
Locking
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
Flows should avoid using locks or interacting with objects that areshared between flows (except for ``ServiceHub`` and other
|
Flows should avoid using locks or interacting with objects that are shared between flows (except for ``ServiceHub`` and other
|
||||||
carefully crafted services such as Oracles. See :doc:`oracles`). Locks will significantly reduce the scalability of the
|
carefully crafted services such as Oracles. See :doc:`oracles`). Locks will significantly reduce the scalability of the
|
||||||
node, and can cause the node to deadlock if they remain locked across flow context switch boundaries (such as when sending
|
node, and can cause the node to deadlock if they remain locked across flow context switch boundaries (such as when sending
|
||||||
and receiving from peers, as discussed above, or sleeping, as discussed below).
|
and receiving from peers, as discussed above, or sleeping, as discussed below).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user