You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2015/11/19 15:51:31 UTC
celix git commit: CELIX-272: set thread variable before starting
thread
Repository: celix
Updated Branches:
refs/heads/develop 144d81ee4 -> 3f5352229
CELIX-272: set thread variable before starting thread
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/3f535222
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/3f535222
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/3f535222
Branch: refs/heads/develop
Commit: 3f5352229e75231d0c6c925ec84d38694d73a445
Parents: 144d81e
Author: Bjoern Petri <bp...@apache.org>
Authored: Thu Nov 19 15:50:21 2015 +0100
Committer: Bjoern Petri <bp...@apache.org>
Committed: Thu Nov 19 15:50:21 2015 +0100
----------------------------------------------------------------------
remote_services/discovery_shm/private/src/discovery_shmWatcher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/3f535222/remote_services/discovery_shm/private/src/discovery_shmWatcher.c
----------------------------------------------------------------------
diff --git a/remote_services/discovery_shm/private/src/discovery_shmWatcher.c b/remote_services/discovery_shm/private/src/discovery_shmWatcher.c
index ea10bbb..e69edfc 100644
--- a/remote_services/discovery_shm/private/src/discovery_shmWatcher.c
+++ b/remote_services/discovery_shm/private/src/discovery_shmWatcher.c
@@ -208,8 +208,8 @@ celix_status_t discoveryShmWatcher_create(discovery_pt discovery) {
}
if (status == CELIX_SUCCESS) {
+ watcher->running = true;
status = celixThread_create(&watcher->watcherThread, NULL, discoveryShmWatcher_run, discovery);
- watcher->running = true;
}
if (status == CELIX_SUCCESS) {