16
µTasker general / INTERNAL_ROUTE
« on: November 28, 2010, 05:43:54 PM »
Hello Mark,
When sending a message to a task we can test if it fits the buffer size allocated, by pointing the message to null.
How to do when sending to INTERNAL_ROUTE, as the message is used to find the correct heap in this case ?
In fact I don't want to start writing a message if I could not complete ( it will be misinterpreted by the listener)
When sending a message to a task we can test if it fits the buffer size allocated, by pointing the message to null.
Code: [Select]
fnWrite( TASK_TEST, 0, MSG_LENGTH); // test if we can write
How to do when sending to INTERNAL_ROUTE, as the message is used to find the correct heap in this case ?
In fact I don't want to start writing a message if I could not complete ( it will be misinterpreted by the listener)