diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-10-21 12:35:03 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-10-21 12:35:03 +0200 |
commit | 62c994014e24b3eee0bf1da5b09d8c797bd5b4f3 (patch) | |
tree | 028eadb027fbdd316fba008f5f54ad85eb8a6944 /src | |
parent | 3d11dcb0e1e041c5811ca710c18008e54667bf07 (diff) | |
download | DLT-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-x | src/lib/dlt_user.c | 15 |
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) { |