Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
spr0cketeer
Icecast-common
Commits
e649b8e2
Commit
e649b8e2
authored
Sep 15, 2005
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduce stack allocation to 512k, the defaults tend to be quite large
svn path=/icecast/trunk/thread/; revision=10018
parent
69739738
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
thread/thread.c
thread/thread.c
+1
-0
No files found.
thread/thread.c
View file @
e649b8e2
...
...
@@ -291,6 +291,7 @@ thread_type *thread_create_c(char *name, void *(*start_routine)(void *),
start
->
arg
=
arg
;
start
->
thread
=
thread
;
pthread_attr_setstacksize
(
&
attr
,
512
*
1024
);
pthread_attr_setinheritsched
(
&
attr
,
PTHREAD_INHERIT_SCHED
);
if
(
detached
)
{
...
...
Write
Preview
Markdown
is supported
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