Which cog does it run in ?
Don Pomplun
Posts: 116
Given this pseudocode:
pub A
cognew (B, ...
pub B
do_something
C
pub C
B is running in cog #1. When it calls C, does C run in cog #0 or #1 ?
TIA
-- Don
pub A
cognew (B, ...
pub B
do_something
C
pub C
B is running in cog #1. When it calls C, does C run in cog #0 or #1 ?
TIA
-- Don
Comments
Now, if in A you also called C, it would be interpreted and executed by BOTH cogs.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies