Revert "test/gem_concurrent_blt"

This reverts commit aee0dcb1ec2075991d310dd6f3fb5e50160847d1.

Oops, accidentally commit a bit of wip changes.
This commit is contained in:
Daniel Vetter 2013-12-03 17:57:06 +01:00
parent 139c72f38a
commit b34322fd15

View File

@ -1129,6 +1129,7 @@ static void fork_helper_exit_handler(int sig)
bool __igt_fork_helper(struct igt_helper_process *proc) bool __igt_fork_helper(struct igt_helper_process *proc)
{ {
pid_t pid; pid_t pid;
sighandler_t oldsig;
int id; int id;
assert(!proc->running); assert(!proc->running);
@ -1145,6 +1146,7 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
* that inserting sufficient amounts of printf or other delays makes * that inserting sufficient amounts of printf or other delays makes
* this unnecessary. * this unnecessary.
*/ */
oldsig = signal(SIGQUIT, SIG_DFL);
switch (pid = fork()) { switch (pid = fork()) {
case -1: case -1:
igt_assert(0); igt_assert(0);
@ -1155,6 +1157,8 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
return true; return true;
default: default:
signal(SIGQUIT, oldsig);
proc->running = true; proc->running = true;
proc->pid = pid; proc->pid = pid;
proc->id = id; proc->id = id;