--- a/include/pngtile.h Mon Jan 25 05:01:34 2010 +0200
+++ b/include/pngtile.h Mon Jan 25 05:14:00 2010 +0200
@@ -167,6 +167,8 @@
* Render a PNG tile to a FILE*.
*
* The PNG data will be written to the given stream, which will be flushed, but not closed.
+ *
+ * Tile render operations are threadsafe as long as the pt_image is not modified during execution.
*/
int pt_image_tile_file (struct pt_image *image, const struct pt_tile_info *info, FILE *out);
@@ -175,6 +177,8 @@
*
* The PNG data will be written to a malloc'd buffer.
*
+ * Tile render operations are threadsafe as long as the pt_image is not modified during execution.
+ *
* @param image render from image's cache
* @param info tile parameters
* @param buf_ptr returned heap buffer