summaryrefslogtreecommitdiff
path: root/test/pthread-show-text.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-12 20:06:34 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-12 20:09:44 +0100
commitfb53d05a69d0291fe68dfe8669b5c1f7636ede1a (patch)
treedf6b63f13b851107e542cd75aec38c1a990c737e /test/pthread-show-text.c
parentcdd98dba6a62360071aebb6dbbb6be2ab6be368f (diff)
test: Remove pthread_yield()
I accidentally pushed this debugging left-over from when I was tracking down a race in memfault. Remove it so that the test suite compiles on more minimal pthread setups.
Diffstat (limited to 'test/pthread-show-text.c')
-rw-r--r--test/pthread-show-text.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/pthread-show-text.c b/test/pthread-show-text.c
index b6be8dc0..0e070b7b 100644
--- a/test/pthread-show-text.c
+++ b/test/pthread-show-text.c
@@ -114,8 +114,6 @@ draw (cairo_t *cr, int width, int height)
cairo_set_source_rgb (cr, 0.5, 0.5, 0.5);
cairo_paint (cr);
- pthread_yield ();
-
for (i = 0; i < N_THREADS; i++) {
void *surface;