single-reader single-writer fix-sized ringbuf, without lock and atomic variable, is it always safe for any CPU arch?

后端 未结 0 396
别跟我提以往
别跟我提以往 2021-01-22 17:31

Was asked to wrap a blocking call to non-blocking during an interview today. So we (the interviewer and me) decided to achieve that by adding a background thread inside the nonb

相关标签:
回答
  • 消灭零回复
提交回复
热议问题