0 votes
asked by (12 points)

I am looking to write a plugin that handles network traffic in a separate thread, which will then read and write to data ref’s (and possibly issue commands). Can I call into X-Plane asynchronously from my network thread, or do I need to synchronise my access within a callback function (probably XPlaneLoopCB)?

I am not sure if I will run into race conditions when using asynchronous access.



Please log in or register to answer this question.

Welcome to X-Plane Q&A, where you can ask support questions and get answers from members of the community.

This site is for X-Plane support questions only. Please search for existing answers before posting your question. Off-topic questions will be locked.

If you’re new, you’ll need to register before asking your first question.

If your question is answered, click on the check mark to select the best response.