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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon May  6 18:34:42 2013 +0200

alchemy/task: clear pthread in no_task descriptor

---

 include/alchemy/task.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/include/alchemy/task.h b/include/alchemy/task.h
index eb06973..786aef8 100644
--- a/include/alchemy/task.h
+++ b/include/alchemy/task.h
@@ -80,7 +80,10 @@ struct RT_TASK_INFO {
 
 typedef struct RT_TASK_INFO RT_TASK_INFO;
 
-static const RT_TASK no_alchemy_task = { .handle = 0 };
+static const RT_TASK no_alchemy_task = {
+       .handle = 0,
+       .thread = 0
+};
 
 #ifdef __cplusplus
 extern "C" {


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

Reply via email to