]> git.street.me.uk Git - andy/viking.git/commit - src/background.c
Separate thread pool for Mapnik rendering defaulting to just 1 task.
authorRob Norris <rw_norris@hotmail.com>
Tue, 10 Feb 2015 20:47:35 +0000 (20:47 +0000)
committerRob Norris <rw_norris@hotmail.com>
Tue, 10 Feb 2015 21:01:14 +0000 (21:01 +0000)
commita8374fcba91073b5d7b16f2cb9f338bd9f3f8089
tree1cd85af19f01a10296c4c1b4caacde5b8cc34916
parent77c36d62877059c1ca43c4526a97ba517e7b88b2
Separate thread pool for Mapnik rendering defaulting to just 1 task.

The size of the pool is configurable in the preferences.
The default of 1 is chosen to mitigate against multi-threading issues using Mapnik Rendering.

The user can try running more threads and see how stable it is for them.
help/C/viking.xml
src/background.c
src/background.h
src/vikmapniklayer.c