tiny polish
This commit is contained in:
parent
e9ce212b62
commit
501e900be5
@ -71,7 +71,7 @@
|
|||||||
#include "pconversion.h"
|
#include "pconversion.h"
|
||||||
|
|
||||||
/* Stall threads that run ahead for up to this long, in seconds. Normally they
|
/* Stall threads that run ahead for up to this long, in seconds. Normally they
|
||||||
* will be woken up long before this, once their data is ready. The timeout is
|
* will be woken once their data is ready and long before this. The timeout is
|
||||||
* just to prevent a total crash in the case of accidental deadlock.
|
* just to prevent a total crash in the case of accidental deadlock.
|
||||||
*
|
*
|
||||||
* This has to be a long time: if we're trying to use all cores on a busy
|
* This has to be a long time: if we're trying to use all cores on a busy
|
||||||
|
@ -490,7 +490,7 @@ thumbnail_shrink( VipsObject *process, VipsImage *in,
|
|||||||
if( vips_tilecache( in, &t[4],
|
if( vips_tilecache( in, &t[4],
|
||||||
"tile_width", in->Xsize,
|
"tile_width", in->Xsize,
|
||||||
"tile_height", 10,
|
"tile_height", 10,
|
||||||
"max_tiles", (nlines * 2) / 10,
|
"max_tiles", 1 + (nlines * 2) / 10,
|
||||||
"access", VIPS_ACCESS_SEQUENTIAL,
|
"access", VIPS_ACCESS_SEQUENTIAL,
|
||||||
"threaded", TRUE,
|
"threaded", TRUE,
|
||||||
NULL ) )
|
NULL ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user