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

Job system revamp #119

Merged
merged 3 commits into from
Dec 27, 2024
Merged

Job system revamp #119

merged 3 commits into from
Dec 27, 2024

Conversation

Segfaultd
Copy link
Member

This PR enhances the job system with several improvements:

Key Changes:

  • Added proper job timing and statistics tracking
  • Implemented condition variables to replace busy waiting
  • Added support for futures to handle job results

Technical Details:

  • Replaced recursive mutex with standard mutex for better performance
  • Added timeout-based shutdown mechanism
  • Improved error handling and logging
  • Made singleton thread-safe

Testing:
The changes maintain backwards compatibility while adding new features. All existing functionality remains unchanged, with improved reliability and performance monitoring capabilities.

@Segfaultd Segfaultd marked this pull request as ready for review December 27, 2024 16:53
@Segfaultd Segfaultd merged commit 925821d into develop Dec 27, 2024
3 of 4 checks passed
@Segfaultd Segfaultd deleted the improvement/job-system-revamp branch December 27, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants