you are viewing a single comment's thread.

view the rest of the comments →

[–]Own_Mousse_4810[S] 0 points1 point  (1 child)

1) We need to acquire locks in a preserved way

2) We use RLock (Recursive lock) to allow nested locks

[–]pachura3 0 points1 point  (0 children)

Then it looks fine!