X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fmsg.h;h=f00f6060294e224edd97c65c2abea38a23fc6ce6;hb=dcee6b7043c0b895dc3489dd379a5264b5af32c1;hp=32232c56e018d3e2d487bddfb318fc840a50a96c;hpb=47d5e292509c20d22adfc608f412bdbe7209decb;p=bertos.git diff --git a/bertos/kern/msg.h b/bertos/kern/msg.h index 32232c56..f00f6060 100644 --- a/bertos/kern/msg.h +++ b/bertos/kern/msg.h @@ -67,6 +67,11 @@ * receiver wakes up, it usually invokes msg_get() to pick * the next message from the port. * + * \note + * When you put a message into a port, such message becomes + * unavailable until you retrieve it using msg_get(), eg. + * you must not delete it or put it into another port. + * * Message ports can hold any number of pending messages, * and receivers usually process them in FIFO order. * Other scheduling policies are possible, but not implemented