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

Multiprocessing not working yet #1

Open
bliepp opened this issue Nov 8, 2020 · 0 comments
Open

Multiprocessing not working yet #1

bliepp opened this issue Nov 8, 2020 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@bliepp
Copy link
Owner

bliepp commented Nov 8, 2020

Multiprocessing is not working because different processes cannot write to the same TextIOWrapper (aka. file stream). A solution could be to use a queue to buffer the items and leave the writing load on a single process.

Keep in mind that multiprocessing in general will screw up the order of the lines in the exported file. For the atoms this isn't a big deal but the comments should stay in the same order.

@bliepp bliepp added bug Something isn't working enhancement New feature or request labels Nov 8, 2020
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 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant