The invention concerns a method for preparing polymers having at least a
thiol function, comprising pyrolysis of at least a polymer having at
least a function of formula (I), wherein: R1, R2, R3 and R4 are such as
defined in the description ##STR00001##