summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-10-21 12:35:03 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-10-21 12:35:03 +0200
commit62c994014e24b3eee0bf1da5b09d8c797bd5b4f3 (patch)
tree028eadb027fbdd316fba008f5f54ad85eb8a6944 /src
parent3d11dcb0e1e041c5811ca710c18008e54667bf07 (diff)
downloadDLT-daemon-62c994014e24b3eee0bf1da5b09d8c797bd5b4f3.tar.gz
DLT user library does not the stack size of the receiver thread anymore.v2.4.0
Diffstat (limited to 'src')
-rwxr-xr-xsrc/lib/dlt_user.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index a031de3..4093c84 100755
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -206,22 +206,9 @@ int dlt_init(void)
return -1;
}
- /* Set default thread stack size */
- if (pthread_attr_init(&dlt_receiverthread_attr)<0)
- {
- dlt_log(LOG_WARNING, "Initialization of default thread stack size failed!\n");
- }
- else
- {
- if (pthread_attr_setstacksize(&dlt_receiverthread_attr,DLT_USER_RECEIVERTHREAD_STACKSIZE)<0)
- {
- dlt_log(LOG_WARNING, "Setting of default thread stack size failed!\n");
- }
- }
-
/* Start receiver thread */
if (pthread_create(&(dlt_receiverthread_handle),
- &dlt_receiverthread_attr,
+ 0,
(void *) &dlt_user_receiverthread_function,
0)!=0)
{