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

Consider Implementing Multiprocessing Via Pool #94

Open
danielsclint opened this issue Oct 20, 2017 · 0 comments
Open

Consider Implementing Multiprocessing Via Pool #94

danielsclint opened this issue Oct 20, 2017 · 0 comments
Assignees

Comments

@danielsclint
Copy link

The multithreading logic could probably be streamlined and more safely implemented using the multiprocessing.Pool. Right now the code has separate methods for a single thread and multiple threads. This seems like it could lead to fixes being accidentally only applied to one half of the implementation.

The todo_queue seems a little messy, so this might take a little thought and a lot of testing to ensure code doesn't get broken in any fix.

This issue is related to some of the discussion in Issue #89.

https://github.com/BayAreaMetro/fast-trips/blob/241c9f210b71498bad6856a649a1b6c6aa891e82/fasttrips/Assignment.py#L811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant