llvm-project
96e7fc2c - [orc-rt] Rename "ResourceManager" to "Service". NFCI. (#186639)

Commit
44 days ago
[orc-rt] Rename "ResourceManager" to "Service". NFCI. (#186639) The name "Service" better reflects the general purpose of this class: It provides *something* (often resource management) to the Session, is owned by the Session, and receives notifications from the Session when the controller detaches / is detached, and when the Session is shut down. An example of a non-resource-managing Service (to be added in an upcoming patch) is a detach / shutdown notification service: Clients can add this service to register arbitrary callbacks to be run on detach / shutdown. The advantage of this over the current Session detach / shutdown callback system is that clients can control both the order of the callbacks, and their order relative to notification of other services.
Author
Parents
Loading