Revision 343c9ed2
ID | 343c9ed28a48e0056cade771046fdc6b046aed7d |
Parent | 6b924ca3 |
Child | 1de1cd0c |
Add a RunWithLocks QA utility function
This patch adds a QA utility function that acquires a set of locks, and
attempts to run a given function with the locks in place. Should the
given function block, this function does not detect this - later
patches will address the issue.
An example of its use is provided by having the move-instance test
modified to use it.
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Files
- added
- modified
- copied
- renamed
- deleted