Module: xenomai-3
Branch: next
Commit: 59d1a1c6f853b10f3cb5d435b3896c601e1da701
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=59d1a1c6f853b10f3cb5d435b3896c601e1da701

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Tue Apr 21 21:00:20 2015 +0200

demo/posix: can-rtt: Remove stack size adjustment

The demo does not create lots of threads, thus has no need to tune this.
Moreover, PTHREAD_STACK_MIN is below the recommended default.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 demo/posix/can-rtt.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/demo/posix/can-rtt.c b/demo/posix/can-rtt.c
index 544b710..da8836d 100644
--- a/demo/posix/can-rtt.c
+++ b/demo/posix/can-rtt.c
@@ -343,7 +343,6 @@ int main(int argc, char *argv[])
     /* Create receiver RT-thread */
     pthread_attr_init(&thattr);
     pthread_attr_setdetachstate(&thattr, PTHREAD_CREATE_JOINABLE);
-    pthread_attr_setstacksize(&thattr, PTHREAD_STACK_MIN);
     ret = pthread_create(&rxthread, &thattr, &receiver, NULL);
     if (ret) {
        fprintf(stderr, "%s: pthread_create(receiver) failed\n",


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to