Change in ovirt-engine[master]: core: Removing unneeded signalAll

mkublin at redhat.com mkublin at redhat.com
Wed Aug 29 10:26:46 UTC 2012


Michael Kublin has submitted this change and it was merged.

Change subject: core: Removing unneeded signalAll
......................................................................


core: Removing unneeded signalAll

The following patch should remove unneeded signalAll from InMemoryLockManager.acquireLockWait
The following signallAll is not needed because of all threads will wake up during releaseLock.
The signalAll removed from InMemoryLockManager.acquireLockWait in order not to cause unneeded
busy wait for waiting threads

Change-Id: I21974c2043eee97edaf09a7006a2ac6f25c6e194
Signed-off-by: Michael Kublin <mkublin at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lock/InMemoryLockManager.java
1 file changed, 1 insertion(+), 11 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/7561
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I21974c2043eee97edaf09a7006a2ac6f25c6e194
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list