T
Tony Johansson
Hi!
Assume I just increment a value in a class so I can use the interlocked
class.
If I instead of using the interlocked class I use the lock which underneth
is using the monitor class
will the performance be effected in any major way.
So I just wonder about how much overhead there is if I use the lock keyword
instead of using the interlocked in those places
where I can use interlocked.
//Tony
Assume I just increment a value in a class so I can use the interlocked
class.
If I instead of using the interlocked class I use the lock which underneth
is using the monitor class
will the performance be effected in any major way.
So I just wonder about how much overhead there is if I use the lock keyword
instead of using the interlocked in those places
where I can use interlocked.
//Tony