封装gcc原子操作

Signed-off-by: hurley25 <liuhuan1992@gmail.com>