X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fmsg.h;h=32232c56e018d3e2d487bddfb318fc840a50a96c;hb=cd442d4c29789100518394a055d52261e4cbd36f;hp=acd99c599edb0deb75893a0bb208bfd943511df7;hpb=e423e63cade618baf616a79b99aaab5de74ec76e;p=bertos.git diff --git a/bertos/kern/msg.h b/bertos/kern/msg.h index acd99c59..32232c56 100644 --- a/bertos/kern/msg.h +++ b/bertos/kern/msg.h @@ -106,7 +106,7 @@ * } TestMsg; * * - * static cpu_stack_t sender_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpu_stack_t)]; + * PROC_DEFINE_STACK(sender_stack, KERN_MINSTACKSIZE); * * // A process that sends two messages and waits for replies. * static void sender_proc(void) @@ -174,6 +174,9 @@ * } * } * \endcode + * + * $WIZ$ module_name = "msg" + * $WIZ$ module_depends = "event", "signal", "kernel" */