Studio:Sending and receiving broadcast messages in the Runtime: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replace - 'Category:STRIDE Runtime' to 'Category:Studio:STRIDE Runtime') |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
By contrast, if srST_RSP_VAL is specified, the entire message is copied before being sent. | By contrast, if srST_RSP_VAL is specified, the entire message is copied before being sent. | ||
[[Category:Studio:STRIDE Runtime]] |
Latest revision as of 00:01, 21 August 2009
If broadcast messages are being sent from the target to the host (i.e., there are no subscribers on the target), the data must be marshalled up to the host. However, when both the broadcaster (owner) and a receiver (user) are on the target, it is more efficient to specify srST_RSP_PTR since only a pointer to the message is moved internally.
By contrast, if srST_RSP_VAL is specified, the entire message is copied before being sent.