steamcompmgr: add 100ms timeout for commit wait thread.

poll() inexplicably blocks forever for some commits right now, this helps
a bit while we understand why.
This commit is contained in:
Pierre-Loup A. Griffais 2020-09-01 17:22:41 -07:00
parent 9f183ae76c
commit 8854cd8bd6

View file

@ -305,7 +305,7 @@ retry:
gpuvis_trace_printf( "wait fence begin_ctx=%lu\n", commitID );
struct pollfd fd = { fence, POLLOUT, 0 };
poll( &fd, 1, -1 );
poll( &fd, 1, 100 );
gpuvis_trace_printf( "wait fence end_ctx=%lu\n", commitID );
{