Thread safe and accepted method

Thanks Leonid,

I will have data coming in from the serial port on a separate thread that will populate the MIB Object.
So on a related note:

  1. Is this method of updating the MIB variable thread safe?
  2. Is this the accepted/suggested method of updating the MIB variable from user application threads or should I be using a different method?

Ref From Digi Document:
Section 3.5 Theory of Operation
“Device data is your data.”

Thanks in advance.