This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX51-Full converting fonction to task

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

Parents
  • 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

Reply
  • 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

Children
No data