NB : The TESTSET instruction cannot address below 0x00100000 ie. the memory associated with the core/processor which issued the instruction. So this puts the flag in the receiving node's memory, suitably associated with a transfer buffer being written to.
The receiving node will set this flag to indicate a 'ready for transfer' state, when that becomes true the sending node will set the flag to a 'being transferred' state ( ie. contents of buffer not yet valid ), which when the transfer is finalised sets the flag's value to 'transfer completed' ( buffers contents now valid for use ). When the receiving core wants more data, it'll set the flag to 'ready for transfer' again, etc ...
This is one suitable solution ( off the top of my head ), there may be others of course.
Cheers, Mike.
( edit ) IIRC there was an important correction to the manual as regards the description of TESTSET, which doesn't change my answer, but will make more sense if you have it. Can't remember right now .....
( edit ) TESTSET correction