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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Aug 24 11:53:50 2015 +0200

copperplate/threadobj: use default stack size for the agent thread

---

 lib/copperplate/threadobj.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/copperplate/threadobj.c b/lib/copperplate/threadobj.c
index e5aefe9..c10e46a 100644
--- a/lib/copperplate/threadobj.c
+++ b/lib/copperplate/threadobj.c
@@ -202,7 +202,7 @@ static void start_agent(void)
        cta.prologue = agent_prologue;
        cta.run = agent_loop;
        cta.arg = NULL;
-       cta.stacksize = PTHREAD_STACK_MIN * 4;
+       cta.stacksize = PTHREAD_STACK_DEFAULT;
        cta.detachstate = PTHREAD_CREATE_DETACHED;
 
        ret = copperplate_create_thread(&cta, &ptid);


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

Reply via email to