Counting Cogs
doggiedoc
Posts: 2,245
Anybody know if there is a way to find out how many cogs are in use at any given time in a program? Besides counting manually, that is.
Thanks,
Doc
Thanks,
Doc
Comments
Rick
I've attached the project I'm fiddling with. It's Chip's SpatialSoundDemo that I've modified to use a 2-axis joystick instead of a mouse. I think I may be running out of cogs or possible I am doing something else wrong.
if I use cognew like I have here it works, but if I try to check for cogs it doesn't - I've commented out the line the doesn't work.
Also, the way you use the RCTime object looks wrong. You're supposed to start it and simply read variables which are updated by its background task. Just realised it's in foreground mode. Apologies.
Paul