jpark37 1f90f0e36b libobs/util: Various atomic improvements
Add exchange functions to alias the poorly named set functions.

Add store without reading previous. Faster on non-x86 processors.

Add compare-exchange that updates previous to avoid redundant fetch.

On Windows, load bool without conversion from char.

On Windows, load using mov with compiler barrier. Still seq_cst.

On POSIX, use GCC __atomic builtins.
2021-02-03 08:51:31 -08:00
..
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2021-01-08 15:43:39 -08:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2020-11-14 11:55:22 -08:00
2021-01-28 23:59:02 -08:00
2021-01-28 23:59:02 -08:00
2019-10-14 17:19:38 -07:00
2019-06-23 23:49:10 -07:00
2020-08-10 12:24:01 -07:00
2021-01-02 04:07:55 -08:00