Skip to content

Conversation

@ifndefJOSH
Copy link
Collaborator

@ifndefJOSH ifndefJOSH commented Jul 12, 2022

THIS PR IS A DRAFT! DO NOT MERGE IT YET!

This pull request includes commits to add multithreading to STAMINA's model builders, creating several classes within a new stamina::builder::threads namespace. These classes include:

  • stamina::builder::threads::BaseThread: a thread base-class which creates an killable thread allowing for idling and termination.
  • stamina::builder::threads::ControlThread: A book-keeping thread which exploration threads can request ownership of states from and keeps track of those ownerships.
  • stamina::builder::threads::ExplorationThread: A thread which explores states which it owns.

Additionally, this PR creates the stamina::core namespace where StaminaModelBuilder and other related classes can live. Now, the only classes in the main stamina namespace are as follows:

  • stamina::Stamina
  • stamina::struct Arguments

STATUS: Compiles but segfaults when multithreading protocol is used. Executable still supports iterative and re-exploring methods.

@ifndefJOSH
Copy link
Collaborator Author

Need to fix issue #28

@ifndefJOSH
Copy link
Collaborator Author

See issue #29

@ifndefJOSH
Copy link
Collaborator Author

Issue #29 fixed now

@ifndefJOSH
Copy link
Collaborator Author

Edited status of PR to note that it compiles now, but doesn't yet work

@ifndefJOSH ifndefJOSH closed this Jul 22, 2023
@ifndefJOSH ifndefJOSH deleted the multithreading branch July 22, 2023 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

State Exploration Multithreading

3 participants