[ros-diffs] [weiden] 13134: made SetErrorMode() thread-safe