Commit | Line | Data |
---|---|---|
ae585589 DM |
1 | --- ../../build/icecast/cache/icecast-2.4.3/src/thread/thread.c 2015-12-27 17:46:32.000000000 +0100 |
2 | +++ ./src/thread/thread.c 2017-01-01 22:52:28.256272825 +0100 | |
3 | @@ -294,10 +294,10 @@ | |
4 | start->thread = thread; | |
5 | ||
6 | pthread_attr_setstacksize (&attr, 512*1024); | |
7 | - pthread_attr_setinheritsched (&attr, PTHREAD_INHERIT_SCHED); | |
8 | + //pthread_attr_setinheritsched (&attr, PTHREAD_INHERIT_SCHED); | |
9 | if (detached) | |
10 | { | |
11 | - pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED); | |
12 | + //pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED); | |
13 | thread->detached = 1; | |
14 | } | |
15 | ||
16 | @@ -651,7 +651,7 @@ | |
17 | LOG_INFO4("Added thread %d [%s] started at [%s:%d]", thread->thread_id, thread->name, thread->file, thread->line); | |
18 | #endif | |
19 | ||
20 | - pthread_setcancelstate (PTHREAD_CANCEL_ENABLE, NULL); | |
21 | + //pthread_setcancelstate (PTHREAD_CANCEL_ENABLE, NULL); | |
22 | free (start); | |
23 | ||
24 | (start_routine)(real_arg); |