From: Alexander Wenzel Date: Fri, 21 Oct 2011 10:35:03 +0000 (+0200) Subject: DLT user library does not the stack size of the receiver thread anymore. X-Git-Tag: v2.4.0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fv2.4.0;p=profile%2Fivi%2Fdlt-daemon.git DLT user library does not the stack size of the receiver thread anymore. --- 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) {