[转] Linux user-space Atomic Operations && GCC Atomic builtins 转自 https://the-linux-channel.the-toffee-project.org/index.php?page=6-tutorials-linux-user-space-atomic-operations