Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETロボコン向けシミュレータ時刻同期周りのスレッド競合の可能性 #2

Open
takasehideki opened this issue Jun 9, 2020 · 0 comments

Comments

@takasehideki
Copy link
Member

下記から転記
tmori/athrill-target#4

@tmori commented on 28 Apr
Unityからの時刻同期およびセンシング情報は,athrill内のスレッドでUDPパケット受信し,そのデータをレジスタ用のバッファにコピーしている.

このUDPスレッドは,CPU駆動で実行するスレッドと排他していないので,競合する可能性がある.修正方法は単純で,これらのスレッド間で共有データアクセスする際に排他をかければよい.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant