Searched hist:"351 f8cd5" (Results 1 – 4 of 4) sorted by relevance
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | property.client.hpp.mako | 351f8cd5 Fri Aug 18 11:24:23 CDT 2023 Patrick Williams <patrick@stwcx.xyz> async: client: use CRTP to eliminate excess context refs
The types used to create a client proxy object need to have access to the async::context, but the sdbusplus::async::client_t that holds them already has a reference. Use CRTP so that there is only a single held reference per client, no matter how many types it contains.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9b3356a6d28f09f10dea74ca310812c7cb9acfa0
|
H A D | method.client.hpp.mako | 351f8cd5 Fri Aug 18 11:24:23 CDT 2023 Patrick Williams <patrick@stwcx.xyz> async: client: use CRTP to eliminate excess context refs
The types used to create a client proxy object need to have access to the async::context, but the sdbusplus::async::client_t that holds them already has a reference. Use CRTP so that there is only a single held reference per client, no matter how many types it contains.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9b3356a6d28f09f10dea74ca310812c7cb9acfa0
|
H A D | interface.client.hpp.mako | 351f8cd5 Fri Aug 18 11:24:23 CDT 2023 Patrick Williams <patrick@stwcx.xyz> async: client: use CRTP to eliminate excess context refs
The types used to create a client proxy object need to have access to the async::context, but the sdbusplus::async::client_t that holds them already has a reference. Use CRTP so that there is only a single held reference per client, no matter how many types it contains.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9b3356a6d28f09f10dea74ca310812c7cb9acfa0
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | client.hpp | 351f8cd5 Fri Aug 18 11:24:23 CDT 2023 Patrick Williams <patrick@stwcx.xyz> async: client: use CRTP to eliminate excess context refs
The types used to create a client proxy object need to have access to the async::context, but the sdbusplus::async::client_t that holds them already has a reference. Use CRTP so that there is only a single held reference per client, no matter how many types it contains.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9b3356a6d28f09f10dea74ca310812c7cb9acfa0
|