I was reading about threading and about locking. It is common practise that you can't (well should not) lock a value type.
So the question is, what is the recommended way of locking a value type? I know there's a few ways to go about doing one thing but I haven't seen an example. Although there was a good thread on MSDN forums but I can't seem to find that now.
Thanks