mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
igt_core: Refactor igt_stop_helper() to use igt_wait_helper()
Reduce code duplication as the igt_stop_helper can reuse igt_wait_helper() to replace its own waiting routine. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
+1
-1
@@ -420,7 +420,7 @@ bool __igt_fork_helper(struct igt_helper_process *proc);
|
||||
*/
|
||||
#define igt_fork_helper(proc) \
|
||||
for (; __igt_fork_helper(proc); exit(0))
|
||||
void igt_wait_helper(struct igt_helper_process *proc);
|
||||
int igt_wait_helper(struct igt_helper_process *proc);
|
||||
void igt_stop_helper(struct igt_helper_process *proc);
|
||||
|
||||
/* exit handler code */
|
||||
|
||||
Reference in New Issue
Block a user