[tracker/rss-enclosures] tracker-data-manager: Add tracker_data_manager_interrupt_thread()
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-data-manager: Add tracker_data_manager_interrupt_thread()
- Date: Mon, 3 May 2010 00:39:02 +0000 (UTC)
commit abe4b9cdebc04d084f455c014cf5e6b2ffd3e3a6
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Apr 16 14:06:34 2010 +0200
tracker-data-manager: Add tracker_data_manager_interrupt_thread()
This is a thin layer on top of tracker_db_manager_interrupt_thread().
src/libtracker-data/tracker-data-manager.c | 6 ++++++
src/libtracker-data/tracker-data-manager.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 9d75c9d..25a4b1b 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -2458,3 +2458,9 @@ tracker_data_manager_set_db_option_int64 (const gchar *option,
tracker_db_statement_execute (stmt, NULL);
g_object_unref (stmt);
}
+
+gboolean
+tracker_data_manager_interrupt_thread (GThread *thread)
+{
+ return tracker_db_manager_interrupt_thread (thread);
+}
diff --git a/src/libtracker-data/tracker-data-manager.h b/src/libtracker-data/tracker-data-manager.h
index d956fff..e83d6c7 100644
--- a/src/libtracker-data/tracker-data-manager.h
+++ b/src/libtracker-data/tracker-data-manager.h
@@ -47,6 +47,8 @@ gboolean tracker_data_manager_init (TrackerDBManagerFlags flags,
gpointer busy_user_data,
const gchar *busy_status);
void tracker_data_manager_shutdown (void);
+gboolean tracker_data_manager_interrupt_thread (GThread *thread);
+
gint64 tracker_data_manager_get_db_option_int64 (const gchar *option);
void tracker_data_manager_set_db_option_int64 (const gchar *option,
gint64 value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]