Skip to content
Commit 29bb4c69 authored by Jasper St. Pierre's avatar Jasper St. Pierre Committed by Rob Clark
Browse files

modetest: Use threads for cursors instead of SIGALRM



This fixes an issue when trying to use -v and -C together. When trying
to read the page flip event, we are interrupted by the SIGALRM that
comes in, and so we think we timed out when we simply got EINTR. While
we could just loop checking for EINTR, SIGALRM is just bad idea to
begin with, so just rewrite it to use a thread.

Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
parent ec65f8d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment