summaryrefslogtreecommitdiff
path: root/test
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
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')
-rw-r--r--test/pthread-same-source.c2
-rw-r--r--test/pthread-show-text.c2
-rw-r--r--test/pthread-similar.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/test/pthread-same-source.c b/test/pthread-same-source.c
index 10ea2837..d55debcf 100644
--- a/test/pthread-same-source.c
+++ b/test/pthread-same-source.c
@@ -144,8 +144,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;
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;
diff --git a/test/pthread-similar.c b/test/pthread-similar.c
index 9d33b15f..ce801ff6 100644
--- a/test/pthread-similar.c
+++ b/test/pthread-similar.c
@@ -77,8 +77,6 @@ draw (cairo_t *cr, int width, int height)
}
}
- pthread_yield ();
-
for (i = 0; i < N_THREADS; i++) {
void *surface;