[tracker/threaded-extractor-modules: 4/4] tracker-extract, tiff: Enable threading
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/threaded-extractor-modules: 4/4] tracker-extract, tiff: Enable threading
- Date: Tue, 29 Nov 2011 11:52:30 +0000 (UTC)
commit d33088e58924c4b2d99d5019d2d7cde4ea04a4d8
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Nov 29 12:44:10 2011 +0100
tracker-extract,tiff: Enable threading
Dealing with isolated TIFF structs in different threads should
be fine.
src/tracker-extract/tracker-extract-tiff.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-tiff.c b/src/tracker-extract/tracker-extract-tiff.c
index 20ceb88..f17a60f 100644
--- a/src/tracker-extract/tracker-extract-tiff.c
+++ b/src/tracker-extract/tracker-extract-tiff.c
@@ -255,6 +255,14 @@ tag_to_string (TIFF *image,
}
G_MODULE_EXPORT gboolean
+tracker_extract_module_init (TrackerModuleThreadAwareness *thread_awareness_ret,
+ GError **error)
+{
+ *thread_awareness_ret = TRACKER_MODULE_MULTI_THREAD;
+ return TRUE;
+}
+
+G_MODULE_EXPORT gboolean
tracker_extract_get_metadata (TrackerExtractInfo *info)
{
TIFF *image;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]