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

concurrency of opam subcommands #66

Closed
tuong opened this issue Jul 26, 2012 · 1 comment
Closed

concurrency of opam subcommands #66

tuong opened this issue Jul 26, 2012 · 1 comment

Comments

@tuong
Copy link

tuong commented Jul 26, 2012

Optimize some "lock" functions so that more operations could be performed at the same time.

Examples :

For instance, if the depending trees of P1 and P2 are disjoint, it could be possible to install P1 & install P2 at the same time.

In the same spirit, one could "init or switch -comp V*" several OCaml at the same time. Then, during a switch from OCaml V1, if we install or remove P in V1, the change will automatically be propagated if the switch has not yet finished.

@samoht
Copy link
Member

samoht commented Nov 13, 2012

This has already been partly implemented. opam --switch foo install lwt can happens concurrently with opam --switch bar install lwt

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

No branches or pull requests

2 participants