Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
a20a0b4b
Commit
a20a0b4b
authored
Aug 04, 2015
by
Jeroen Vreeken
Browse files
Remove fixed stack size from logging code.
parent
a0273969
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/log/log.c
View file @
a20a0b4b
/*
Copyright Jeroen Vreeken (
pe1rxq@amsat.org
), 2008, 2013, 2014
Copyright Jeroen Vreeken (
jeroen@vreeken.net
), 2008, 2013, 2014
, 2015
Copyright Stichting C.A. Muller Radioastronomiestation, 2008, 2013
This program is free software: you can redistribute it and/or modify
...
...
@@ -358,10 +358,6 @@ int log_server_start(int port, enum log_type console_level,
printf
(
"Starting log server on port %d
\n
"
,
port
);
pthread_attr_init
(
&
attr
);
/* PTHREAD_STACK_MIN * 2 seems to be the minimum on some old FreeBSD
releases
*/
pthread_attr_setstacksize
(
&
attr
,
PTHREAD_STACK_MIN
*
2
+
65536
);
pthread_create
(
&
thread_id
,
&
attr
,
log_server
,
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment