Paulo Zanoni 9bb04d3aa6 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>
2015-05-05 17:27:49 -03:00
..
2014-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2012-04-10 16:23:18 +02:00
2014-05-14 00:36:04 +02:00
2015-02-13 09:35:36 +01:00
2014-12-04 10:17:24 +08:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2015-03-12 14:15:26 +00:00
2015-04-09 15:45:50 +02:00
2014-12-04 16:07:55 +00:00
2015-04-14 17:43:05 +01:00
2015-05-05 17:27:49 -03:00
2015-03-23 12:50:48 -07:00
2013-11-01 21:10:59 +01:00
2014-06-13 18:27:59 +02:00
2012-01-15 16:05:43 +01:00