Skip to content

Commit

Permalink
fix tc_loop_queue crash in arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Apr 9, 2024
1 parent d4d5d65 commit eed1bf4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions util/include/util/tc_loop_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,10 @@ class TC_LoopQueue
T * _p;
size_t _iCapacity;
size_t _iCapacitySub;
size_t _iBegin;
size_t _iEnd;
std::atomic<size_t> _iBegin;
std::atomic<size_t> _iEnd;
// size_t _iBegin;
// size_t _iEnd;
};

}
Expand Down

0 comments on commit eed1bf4

Please sign in to comment.