Skip to content

Commit

Permalink
gh-215: Minor documentation improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
PengZheng committed Jun 16, 2024
1 parent d384c86 commit 61d0f69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libs/framework/src/celix_launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ typedef struct {
framework_t* framework;
long shutdownEventId;
bool launched;
bool shutdown;
int signal;
bool shutdown; // accessed through atomic operations
int signal; // accessed through atomic operations
} celix_launcher_t;

typedef struct {
Expand Down Expand Up @@ -393,7 +393,6 @@ void celix_launcher_triggerStop() {
}

static void celix_launcher_shutdownCheck(void* data CELIX_UNUSED) {
// assert(data == &g_launcher)
celix_auto(celix_mutex_lock_guard_t) lck = celixMutexLockGuard_init(&g_launcher.lock);
if (__atomic_load_n(&g_launcher.shutdown, __ATOMIC_ACQUIRE)) {
int sig = __atomic_load_n(&g_launcher.signal, __ATOMIC_RELAXED);
Expand Down

0 comments on commit 61d0f69

Please sign in to comment.