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

Create structs for managing shared resources similar to SimPy #19

Open
3 tasks done
FiberedSkies opened this issue Jun 3, 2023 · 0 comments · May be fixed by #20
Open
3 tasks done

Create structs for managing shared resources similar to SimPy #19

FiberedSkies opened this issue Jun 3, 2023 · 0 comments · May be fixed by #20
Assignees
Labels
bug Something isn't working enhancement Upgrading an existing feature to expand its capabilities feature New feature or request

Comments

@FiberedSkies
Copy link
Contributor

FiberedSkies commented Jun 3, 2023

To do this, we need to implement three type of shared resources:

  • Resources (shared resources that can be used by a limited number of processes at a time)
  • Containers (shared resource that model the production and consumption of a homogeneous, undifferentiated bulk)
  • Stores (shared resource that model the production and consumption of generic type T)

For reference look at the documentation to shared resources in SimPy. Lastly, we should write tests for each resource type to see if the shared functionality is working properly.

@FiberedSkies FiberedSkies self-assigned this Jun 3, 2023
@FiberedSkies FiberedSkies added the bug Something isn't working label Jun 3, 2023
@FiberedSkies FiberedSkies linked a pull request Jun 3, 2023 that will close this issue
3 tasks
@FiberedSkies FiberedSkies changed the title Create a State struct to handle shared states between processes. Create structs for managing shared resources similar to SimPy Jun 14, 2023
@FiberedSkies FiberedSkies added feature New feature or request enhancement Upgrading an existing feature to expand its capabilities labels Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Upgrading an existing feature to expand its capabilities feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant