The invention relates to a method for obtaining a target variable, comprising data, coded in a target format, intended to be used by at least one
software execution unit, called a
consumer unit, said
consumer unit belonging to at least one
software component of a computer
system comprising at least one processor capable of executing at least said
consumer unit, said method comprising: - reading in a memory of the computer
system an
adaptation indicator of a source variable, produced by a
software execution unit, called a producer unit, said
consumer unit belonging to at least one other software component of said computer
system, said source variable comprising said data, coded in a source format, distinct from the target format, said memory being shared between said at least one
consumer unit and said producer unit, - when the
adaptation indicator is set to a first value,indicating that an
adaptation of the source variable into the target variable is required, the adaptation of the source variable into the target variable, and- reading the target variable into the memory of the computer system, otherwise. Figure for abstract: FIG. 7.,