commit | 9bb04d3aa6a2b1b86e091967e312a19ce337df4d | [log] [tgz] |
---|---|---|
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | Wed Dec 03 16:12:49 2014 -0200 |
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | Tue May 05 17:27:49 2015 -0300 |
tree | 4bc4ddc0b7f75b5c8156599f36dc08991b223811 | |
parent | a734ac2058fd0cce842a4290335c0697d89b2d63 [diff] |
lib: add igt_wait() Just a little helper for code that needs to wait for a certain condition to happen. It has the nice advantage that it can survive the signal helper. Despite the callers added in this patch, there is another that will go in a separate patch, and another in a new IGT test file that I plan to push later. v2: Check COND again before returning in case we hit the timeout. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>