c# - Is it possible to execute custom code every time Thread.MemoryBarrier() gets called? -
using instrumentation tools cecil perhaps? guess if it's possible, mean i'd have bundle instrumented versions of standard .net libs?
also, correct in assuming thread.memorybarrier() called .net code generates full fence?
no answer, guess answer no.
Comments
Post a Comment