Closed Hadatko closed 2 years ago
Signed-off-by: Cervenka Dusan cervenka@acrios.com
Prerequisites
Describe the pull request
I am just curious if there is a reason why not to use trylock in loop for lock implementation. TryLock and Lock looked to me a bit inconsistent.
Type of change
Tests
If implementation of TryLock is not an issue then why not use it for Lock implementation?
Signed-off-by: Cervenka Dusan cervenka@acrios.com
Prerequisites
Describe the pull request
I am just curious if there is a reason why not to use trylock in loop for lock implementation. TryLock and Lock looked to me a bit inconsistent.
Type of change
Tests