Skip to content

Conversation

@TevaTavo
Copy link

@TevaTavo TevaTavo commented Dec 7, 2024

the run() method now efficiently waits when suspendMe() is called and resumes execution when resumeMe() is invoked. This approach eliminates the need for constant suspension checks during the thread's execution, reducing unnecessary overhead. The thread pauses gracefully while suspended and only resumes performing the drawing and movement tasks when explicitly notified, thereby optimizing performance and conserving system resources.

@TevaTavo TevaTavo closed this Dec 7, 2024
@TevaTavo TevaTavo reopened this Dec 7, 2024
@github-actions
Copy link

github-actions bot commented Feb 6, 2025

This PR is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the Stale label Feb 6, 2025
@iluwatar iluwatar closed this Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants