可可西

2021年8月25日 #

UE4原子操作与无锁编程

摘要: 原子操作的Interlocked函数 // 自增操作 int32 n1 = 100; // n1=n1+1; r1=n1; int32 r1 = FPlatformAtomics::InterlockedIncrement(&n1); // n1=101 r1=101 // 自减操作 int32 n 阅读全文

posted @ 2021-08-25 22:58 可可西 阅读(4662) 评论(0) 推荐(0) 编辑

导航