summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{