[gnome-builder] ide-thread-pool: fix variable name sementic
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] ide-thread-pool: fix variable name sementic
- Date: Fri, 4 Nov 2016 19:53:02 +0000 (UTC)
commit d340d3cd6d47491c8c4af6be21f06ff2fed78b28
Author: Sebastien Lafargue <slafargue gnome org>
Date: Fri Nov 4 20:22:31 2016 +0100
ide-thread-pool: fix variable name sementic
libide/threading/ide-thread-pool.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libide/threading/ide-thread-pool.c b/libide/threading/ide-thread-pool.c
index 77929c5..2951165 100644
--- a/libide/threading/ide-thread-pool.c
+++ b/libide/threading/ide-thread-pool.c
@@ -188,13 +188,13 @@ _ide_thread_pool_init (gboolean is_worker)
{
gint compiler = COMPILER_MAX_THREADS;
gint indexer = INDEXER_MAX_THREADS;
- gboolean shared = FALSE;
+ gboolean exclusive = FALSE;
if (is_worker)
{
compiler = 1;
indexer = 1;
- shared = TRUE;
+ exclusive = TRUE;
}
/*
@@ -205,7 +205,7 @@ _ide_thread_pool_init (gboolean is_worker)
thread_pools [IDE_THREAD_POOL_COMPILER] = g_thread_pool_new (ide_thread_pool_worker,
NULL,
compiler,
- shared,
+ exclusive,
NULL);
/*
@@ -215,6 +215,6 @@ _ide_thread_pool_init (gboolean is_worker)
thread_pools [IDE_THREAD_POOL_INDEXER] = g_thread_pool_new (ide_thread_pool_worker,
NULL,
indexer,
- shared,
+ exclusive,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]