Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dump1090
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Schumb
dump1090
Commits
0a055c34
Commit
0a055c34
authored
Feb 17, 2015
by
Oliver Jowett
Browse files
Options
Downloads
Patches
Plain Diff
Log timestamped messages on startup/shutdown.
parent
dcdfd2ac
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dump1090.c
+2
-0
2 additions, 0 deletions
dump1090.c
with
2 additions
and
0 deletions
dump1090.c
+
2
−
0
View file @
0a055c34
...
...
@@ -961,6 +961,7 @@ int main(int argc, char **argv) {
}
// Initialization
log_with_timestamp
(
"%s %s starting up."
,
MODES_DUMP1090_VARIANT
,
MODES_DUMP1090_VERSION
);
modesInit
();
if
(
Modes
.
net_only
)
{
...
...
@@ -1110,6 +1111,7 @@ int main(int argc, char **argv) {
pthread_join
(
Modes
.
reader_thread
,
NULL
);
// Wait on reader thread exit
pthread_cond_destroy
(
&
Modes
.
data_cond
);
// Thread cleanup - only after the reader thread is dead!
pthread_mutex_destroy
(
&
Modes
.
data_mutex
);
log_with_timestamp
(
"Normal exit."
);
#ifndef _WIN32
pthread_exit
(
0
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment