Open
Description
Currently, the requirements for the execution_resource
are quite vague:
[Note: The intention is that the actual implementation details of a resource topology are
described in an execution context when required. This allows the execution resource objects
to be lightweight objects that serve as identifiers that are only referenced. --end note]
In #40 we decided that the execution_resource
should be copyable and moveable but must act as an opaque type with reference counting semantics.
Taken from #40:
- Answering the second point, the
execution_reosurce
should remain copyable and moveable so that it can be used within std alogrithms, but it should be an opaque type with reference counting semantics.
Perhaps we want to introduce normative wording which requires certain behaviour of the execution_resource
when being copied or moved in order to guarantee the corerect behaviour.