projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8064a51
)
trace/rbug: Sleep on windows when blocked
author
Jakob Bornecrantz
<jakob@vmware.com>
Mon, 8 Jun 2009 12:33:55 +0000
(14:33 +0200)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Mon, 8 Jun 2009 13:01:48 +0000
(15:01 +0200)
src/gallium/drivers/trace/tr_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/trace/tr_context.c
b/src/gallium/drivers/trace/tr_context.c
index dd5cca58dd262a22c1cf9b27b3d08ce65501bf6c..b845a649b898f45f76ea7c66b97d5ec54678c490 100644
(file)
--- a/
src/gallium/drivers/trace/tr_context.c
+++ b/
src/gallium/drivers/trace/tr_context.c
@@
-131,7
+131,9
@@
trace_context_draw_block(struct trace_context *tr_ctx, int flag)
pipe_condvar_wait(tr_ctx->draw_cond, tr_ctx->draw_mutex);
#else
pipe_mutex_unlock(tr_ctx->draw_mutex);
- /* TODO sleep or use conditional */
+#ifdef PIPE_SUBSYSTEM_WINDOWS_USER
+ Sleep(1);
+#endif
pipe_mutex_lock(tr_ctx->draw_mutex);
#endif
}