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.
This commit is contained in:
Chris Wilson 2010-05-12 20:06:34 +01:00
parent cdd98dba6a
commit fb53d05a69
3 changed files with 0 additions and 6 deletions

View file

@ -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;

View file

@ -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;

View file

@ -77,8 +77,6 @@ draw (cairo_t *cr, int width, int height)
}
}
pthread_yield ();
for (i = 0; i < N_THREADS; i++) {
void *surface;