This commit is contained in:
John Cupitt 2016-06-05 16:34:10 +01:00
parent 05ef6a5af8
commit cf56b43ebf
1 changed files with 23 additions and 0 deletions

23
TODO
View File

@ -1,3 +1,26 @@
- we free buffers on vips__buffer_shutdown(), called from thread shutdown,
but this won't happen for the main thread until program exit!
therefore any buffers allocated on the main thread will never leave cache,
and will eventually take over, forcing all operations out
we need to free buffers on image close, not thread exit
structure:
thread private ->
VipsBufferThread * -> hash(im) ->
VipsBufferCache * ->
array of VipsBuffer
we currently free VipsBufferThread on thread exit, instead we must free
VipsBufferCache on image close
alternative: keep the current thing, but keep a special note of the main
thread VipsBufferCache ... on image close, remove any buffers just from that
we'd need vips__thread_main to track the thread that called VIPS_INIT
- add more webp tests to py suite
- try moving some more of the CLI tests to py