From 62c994014e24b3eee0bf1da5b09d8c797bd5b4f3 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Fri, 21 Oct 2011 12:35:03 +0200 Subject: DLT user library does not the stack size of the receiver thread anymore. --- src/lib/dlt_user.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src') 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) { -- cgit v1.2.1