Hello

I'm playing with ANT+ sensors, and now I'm wondering what's the best way to accomplish this scenario:

- I have several lists, lets call them buffers, that will receive several values at different rates/time, then in another thread that at a specific interval get "atomic" access to the buffers, and remove all the data for managing, after that release the buffers to receive new data. I don't want to loose any data, when the thread it's getting the data.

What's the best way to do this?

SyncLock , Semaphores, other way?

Thanks