Hello all, Can someone help me with converting a specific function (that receive various parameters) to task function? I'm working with RTX51-Full and I know that maybe the way to do it is to use the system operation - "os_send_message", but I'm not sure. The function is: "void send(bit type, SND_MSG sndMsg, PRTCL_FLD prtclFld, uchar protocol)" P.S. I can't make those variables global. Thanks a lot, Roberto
The memory pools implemented in RTX51 use a pre-determined number of fixed-size blocks. The allocation and freeing are pretty fast. You could also use a binary semaphore to guarantee unique access to global variables containing the send task arguments. Jon