Module: xenomai-jki
Branch: for-forge
Commit: c3339606d3098c54c457fcfb23c42cbd4ddedbfe
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=c3339606d3098c54c457fcfb23c42cbd4ddedbfe

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