강의

멘토링

로드맵

Inflearn Community Q&A

nature47244682's profile image
nature47244682

asked

[MMORPG Game Development with C++ and Unreal Series] Part 4: Game Server

Lock-Free Stack #1

Lock Free Stack #1강의에서 atomic 헤더없이 사용 가능한 이유?

Written on

·

477

·

Edited

0

강의 시간 02:07

atomic타입으로 Node 포인터 변수를 선언 했는데

 

<atomic> 헤더를 선언하지않았는데 빌드가 잘되던데 왜그런건가요??

미리 컴파일된 헤더나 mutex안에 atomic이 있지도 않은데 말이죠..

 

아직 c++ 이 많이 익숙치 않아 질문남깁니다. ㅜㅜ

네트워크MMORPGwindows-server

Quiz

66% of people got it wrong. Give it a try!

What is the main cause of unexpected results that can occur when multiple threads simultaneously access and modify shared data in a multithreading environment?

Deadlock

Thread Local Storage (TLS) conflict

Race Condition

CPU Pipeline Failure

Answer 1

0

k ch님의 프로필 이미지
k ch
Questioner

뒤져보닌까 있네요 ㅜㅜ

mutex - memory - thread - atomic 이렇게 선언 되어있습니다

nature47244682's profile image
nature47244682

asked

Ask a question