mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 04:08:13 +02:00
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:
parent
cdd98dba6a
commit
fb53d05a69
3 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -77,8 +77,6 @@ draw (cairo_t *cr, int width, int height)
|
|||
}
|
||||
}
|
||||
|
||||
pthread_yield ();
|
||||
|
||||
for (i = 0; i < N_THREADS; i++) {
|
||||
void *surface;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue