AW: AW: [PATCH 05/12] kern_tc.c: Replace atomic functions required by PPS API

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 7 13:20:42 UTC 2022


On 07/04/2022 15:14, Gabriel.Moyano at dlr.de wrote:
>> In FreeBSD, it seems the sequence is sometimes incremented using a normal increment, for example:
>>
>> 	*pcount = pps->capcount;
>> 	(*pseq)++;
>> 	*tsp = ts;
>>
>> So, just add the atomic_load_int() as an relaxed atomic load to the other inline functions at the top of the file.
> atomic_load_acq_int() is defined also at the beginning of the file. Do you want to repeat the function but with other name (atomic_load_int()) ?

No, just add the atomic_load_int() as a RELAXED atomic load to the other 
inline functions at the top of the file.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list