celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject celix git commit: CELIX-272: set thread variable before starting thread
Date Thu, 19 Nov 2015 14:51:31 GMT
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 <bpetri@apache.org>
Authored: Thu Nov 19 15:50:21 2015 +0100
Committer: Bjoern Petri <bpetri@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) {


Mime
View raw message