Concurrent objects?

Hi guys.
I had assumed that if I declare two instantiations of an class using unique names I could have two similar processes running concurrently (in separate cogs). I.e.,
However, this appears not to be the case - trying to use both causes each to stop. Was I being too naive or do I need to avoid some elephant trap of which I am not yet aware?
Thanks for looking!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Hugh - the thinking woman's Geoffrey Pyke.
I had assumed that if I declare two instantiations of an class using unique names I could have two similar processes running concurrently (in separate cogs). I.e.,
OBJ uart1 : "FullDuplexSerial" uart2 : "FullDuplexSerial"
However, this appears not to be the case - trying to use both causes each to stop. Was I being too naive or do I need to avoid some elephant trap of which I am not yet aware?
Thanks for looking!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Hugh - the thinking woman's Geoffrey Pyke.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Short answer: it depends, and you have to examine the object itself to make sure. iMO, it should be a requirement for any object submitted to the OBEX to include a statement as to whether it is "multiple instance safe".
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Morpheus & Mem+dual Prop SBC w/ 512KB kit $119.95, 2MB memory IO board kit $89.95, both kits $189.95
www.mikronauts.com - my site 6.250MHz custom Crystals for running Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
Thanks for the tip, Bill.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Hugh - the thinking woman's Geoffrey Pyke.
Tim