Jun 8, 2010 #1 A amraldo Advanced Member level 4 Joined Aug 29, 2004 Messages 1,183 Helped 145 Reputation 290 Reaction score 37 Trophy points 1,328 Location Egypt Activity points 5,880 Which is better for RTOS? To implement message queues to copy by reference or to copy by value?- -- Amr Ali
Which is better for RTOS? To implement message queues to copy by reference or to copy by value?- -- Amr Ali
Jun 8, 2010 #2 M microKernel Full Member level 3 Joined Jul 15, 2005 Messages 171 Helped 34 Reputation 68 Reaction score 12 Trophy points 1,298 Location NE Activity points 2,307 The factors that can play a major role in the choice include the size of each message the targeted platforms family in terms of word size the tolerance of the architecture for non-aligned data In general pass by reference would be flexible but costlier to implement for a robust system.
The factors that can play a major role in the choice include the size of each message the targeted platforms family in terms of word size the tolerance of the architecture for non-aligned data In general pass by reference would be flexible but costlier to implement for a robust system.