Skip to content
Snippets Groups Projects
Commit 0d6b365a authored by noraabiakar's avatar noraabiakar Committed by Sam Yates
Browse files

Manage distributed_context using shared pointers (#555)

* Replace distributed_contest with shared_ptr<distributed_context> in execution_context and pass around the shared pointer instead of a raw pointer.
* Fix construction of mpi_context
* Remove num_threads() from arb and arb::threading. Modify mpi_context so it also returns a shared_ptr. proc_allocation is initialized from execution context to determine available resources.
* Rename threading backend files. Delete useless files.
* Pass execution_context by const reference or value.
* Remove code duplication in thread_system constructors.
parent 845077e6
No related branches found
No related tags found
No related merge requests found
Showing
with 495 additions and 560 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment