HomeClusterLabs Projects

Refactor: libcrmcommon: Rearrange send/receive code in crm_ipc_send.

Description

Refactor: libcrmcommon: Rearrange send/receive code in crm_ipc_send.

In order to support multipart IPC messages, all the sending has to
happen first and only then can the receiving happen. The existing code
had everything jumbled together which also made things a little more
confusing than they really are. Rearrange the code so that we send
first, then receive, then process any reply.

Details

Provenance
clumensAuthored on Feb 24 2025, 1:11 PM
Parents
rPa5deef0b11eb: Refactor: libcrmcommon: Don't use qb_ipcc_sendv_recv in crm_ipc_send.
Branches
Unknown
Tags
Unknown