Using Two Arduinos Simultaneously

Hi. I am playing around a bit with the two Arduinos I have (a Duemalinove w/ATMEGA328 and a MEGA2560) and I was curious to know if it is possible to have them both running different codes at the same time.

Cheers
James

The Arduino is single tasking, it has no operating system by default.

There are some rtos ports available

Thank you. I am most grateful.

Cheers
James Denney