aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2023-04-12 13:54:22 -0600
committerGitHub <noreply@github.com>2023-04-12 13:54:22 -0600
commit2f33980a9141bd49cb2c34361854355b23b1e6fc (patch)
treeb43e9c17964acf4e56db3a88af168509b813ff68 /docs/src
parente189c31375b6b872ac63b30df370ef8de884cb17 (diff)
downloadlibuv-2f33980a9141bd49cb2c34361854355b23b1e6fc.tar.gz
libuv-2f33980a9141bd49cb2c34361854355b23b1e6fc.zip
src: switch to use C11 atomics where available (#3950)
Switch all code in unix/ to use C11 atomics directly. Change uv_library_shutdown() to use an exchange instead of load/store. Unfortunately MSVC only started supporting C11 atomics in VS2022 version 17.5 Preview 2 as experimental. So resort to using the Interlocked API. Ref: https://devblogs.microsoft.com/cppblog/c11-atomics-in-visual-studio-2022-version-17-5-preview-2/ Fixes: https://github.com/libuv/libuv/issues/3948
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions