The invention relates to a method for synchronizing program sections of a
computer program. The program sections can run in parallel on different
processors of a computer. Data transfer between the program sections is
synchronized by providing a buffer. Unauthorized access to the buffer is
prevented by means of a flag that is set automatically by buffer
utilities. The data transfer between individual program sections is thus
synchronized by the buffer synchronization class only, which consists of
the buffer, internal variables and the buffer utilities, is configured in
a very simple manner and can thus be tested in operation an in a
relatively simple manner by means of a computer comprising several
processors. The data transfer is very efficient as the individual
utilities are designed in a simple and short manner and thus require
little processing time and as the data can be directly written in or read
out of the buffer.