java-romp / jromp

Java Runtime implementation of OpenMP.
https://java-romp.github.io/jromp/
MIT License
5 stars 0 forks source link

Refactor library to support thread groups #71

Closed scastd closed 1 month ago

scastd commented 1 month ago

Describe the feature

This feature will allow creating thread groups with a specified number of threads. Instead of using the ExecutorService interface, we can create our own custom executor that implements even more advanced features.

Additional information

Final checks

scastd commented 1 month ago

We can also create a specific implementation for the Runnable interface with more attributes (like groupID, name, etc.) and methods.

scastd commented 1 month ago

In addition, a naming refactor will be done in this issue.

scastd commented 1 month ago

[!NOTE] This comment will be updated every time a new change is introduced in this issue during the refactoring process.

scastd commented 1 month ago

IMPORTANT: Check what functions we expose in the ThreadTeam class to prevent users from calling them directly and causing unwanted behavior.