add threading tests

This commit is contained in:
John Cupitt 2010-06-24 15:24:12 +00:00
parent 75fdc5ae4e
commit 4a43c7b19a
1 changed files with 47 additions and 6 deletions

53
TODO
View File

@ -1,13 +1,54 @@
- write_tif_tile() single-threads, but will be called from many
workers ... so the tile cache fails with region ownership problems
either make vips_sink_tile() only call the write function from one thread,
or swap region ownership about a lot
- drop "set" suffix renames im_copy_set as copy_ argh
I guess this causes nip2 problems as well? or we call the full name I guess
- change vips error reporting
what we have now:
$ vips im_copy
usage: vips im_copy in out
where:
in is of type "image"
out is of type "image"
copy image, from package "conversion"
flags: (PIO function) (no coordinate transformation) (area operation) (result can be cached)
vips: error calling function
im_run_command: too few arguments
$ vips im_copy ~/pics/babe.jpg /dev/poop.v
usage: vips im_copy in out
where:
in is of type "image"
out is of type "image"
copy image, from package "conversion"
flags: (PIO function) (no coordinate transformation) (area operation) (result can be cached)
vips: error calling function
im_setupout: unable to write to "/dev/poop.v"
should be:
$ vips im_copy
usage: vips im_copy in out
where:
in is of type "image"
out is of type "image"
copy image, from package "conversion"
flags: (PIO function) (no coordinate transformation) (area operation) (result can be cached)
ie. no "error calling function" message
and
$ vips im_copy ~/pics/babe.jpg /dev/poop.v
im_setupout: unable to write to "/dev/poop.v"
ie. no usage message, no "error calling function" message
- lcms2 needs testing
- tools subdirs are now pretty stupid :-( just have a single dir