__device__ functions smem usage

I see that device functions make use of same shared memory space regardless of how many times they are inlined…

Will this NOT cause race-conditions?

If the instances are separated by __syncthreads() – then there is no problem at all.

however, if it is not so, we will be hitting a bad race condition… Isn’t it?

Can some1 provide light on this?

note: Different _device functions use different spaces… Thats clean.