[tracker] tracker-store: Fix crash when not building with glibc
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-store: Fix crash when not building with glibc
- Date: Fri, 2 Jul 2010 12:57:18 +0000 (UTC)
commit eed4f20544ee775baee11a99cfa59cf5ead5e719
Author: Jürg Billeter <j bitron ch>
Date: Fri Jul 2 14:56:14 2010 +0200
tracker-store: Fix crash when not building with glibc
src/tracker-store/tracker-store.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-store/tracker-store.c b/src/tracker-store/tracker-store.c
index 838fb77..8123b74 100644
--- a/src/tracker-store/tracker-store.c
+++ b/src/tracker-store/tracker-store.c
@@ -663,9 +663,8 @@ tracker_store_init (void)
pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
/* lock main update/query thread to same cpu to improve overall performance
main loop thread is essentially idle during query execution */
-#endif /* __USE_GNU */
-
g_thread_pool_push (private->main_pool, GINT_TO_POINTER (1), NULL);
+#endif /* __USE_GNU */
g_static_private_set (&private_key,
private,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]