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

Feat/implement multithreading for network and guiupdater zappy gui #274

Conversation

Thomaltarix
Copy link
Collaborator

@Thomaltarix Thomaltarix commented Jun 23, 2024

With the help of @mathieurobert1, i implemented the multithreading for the GUI.

At the moment, the network and the updater are ran in a different thread than the main one (with the raylib display)
It make the GUI able to support the tick = 100, and finish at the same time as the server

Note

The display has to be in the main thread since Raylib is not developed to do that.

@Thomaltarix Thomaltarix added the enhancement New feature or request label Jun 23, 2024
@Thomaltarix Thomaltarix linked an issue Jun 23, 2024 that may be closed by this pull request
AxelF44
AxelF44 previously approved these changes Jun 23, 2024
mathieurobert1
mathieurobert1 previously approved these changes Jun 23, 2024
Copy link
Collaborator

@mathieurobert1 mathieurobert1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After 5 intensives hours we did it ! Nice work ! 🥇

@Thomaltarix Thomaltarix dismissed stale reviews from mathieurobert1 and AxelF44 via e373fec June 23, 2024 20:44
…hreading-for-network-and-guiupdater-zappy-gui
Copy link
Collaborator

@mathieurobert1 mathieurobert1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix !

@Thomaltarix Thomaltarix merged commit 960e1fd into main Jun 23, 2024
4 checks passed
@Thomaltarix Thomaltarix deleted the feat/implement-multithreading-for-network-and-guiupdater-zappy-gui branch June 23, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement multithreading for Network and GUIUpdater - Zappy GUI
3 participants