I had a single entry tourist visa, went to India, went to Thailand, returned to India, no problems.
I did have to explain to the immigration officer on the second entry, but as soon as I said the magic words "neighbouring country" he got it. They don't seem to have a strict definition of neighbouring country.