i'm trying to write a realtime application (with physical interaction) with c# language. Globaly it work fine, but sometimes my criitical section has to be late and this is not pretty good. i'll suggest my GC is involved in first time.
i use actually default parameters c# (GC is active, prog is not pre-jitted, i don't use marshall, etc).
can i disable momentarily the GC activities (i know it work in async parallel thread) for my critical code section or maybe something like it ?
or should i to says to my GC to do not manage my critical section ?
i'm open to any request and remarks thanks !
edit : my prog is always on real-time.