Skip to content

Conversation

@leonardfactory
Copy link

Hi @Angel-125, first of all thank you for this awesome mod. I had some issues with the simulator (running KSP v1.10.1 on macOS Catalina). Actually with some sleep commands while simulator is not null in the thread routine seems to overcome the high CPU usage. I'm leaving the PR here in case you're interested.

I think a "better" solution would be to add some Wait mutexes, since the Mutex.WaitOne() used here is not really doing his job. Probably my understanding is limited, but I think this could be a good start.

Furthermore, reducing the sleeping period to ~20ms should be enough.

Actually just using some sleep commands while simulator is not null.
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

Successfully merging this pull request may close these issues.

1 participant