[tracker/threaded-extractor: 2/2] tracker-extract: Mark text extractor as thread aware
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/threaded-extractor: 2/2] tracker-extract: Mark text extractor as thread aware
- Date: Thu, 19 May 2011 09:30:16 +0000 (UTC)
commit b687293460be90e68b303b60207715b2d198d186
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu May 12 11:00:36 2011 +0200
tracker-extract: Mark text extractor as thread aware
src/tracker-extract/tracker-extract-text.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-text.c b/src/tracker-extract/tracker-extract-text.c
index a93fe0b..f5f312e 100644
--- a/src/tracker-extract/tracker-extract-text.c
+++ b/src/tracker-extract/tracker-extract-text.c
@@ -73,6 +73,14 @@ get_file_content (const gchar *uri,
}
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 (const gchar *uri,
const gchar *mimetype,
TrackerSparqlBuilder *preupdate,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]